Hello lz, I saw your comment on my article A Brief Analysis of JVM Memory Management before, and I also saw your question. It’s mentioned in my articles:
The survivor area belongs to the young generation and uses the copy collection algorithm
Objects that are still alive after being moved between the two Survivor areas several times (default is 15 times) will finally be moved to the old generation
Exceptionally large objects enter the old age directly
Recommended to read "In-depth Understanding of Java Virtual Machine".
1. The GC algorithms of the new generation are almost all replication algorithms, that is to say, the survivor is also copied to the old generation. 2. There are several situations when objects move from the new generation to the old generation
Hello lz, I saw your comment on my article A Brief Analysis of JVM Memory Management before, and I also saw your question. It’s mentioned in my articles:
The survivor area belongs to the young generation and uses the copy collection algorithm
Objects that are still alive after being moved between the two Survivor areas several times (default is 15 times) will finally be moved to the old generation
Exceptionally large objects enter the old age directly
Recommended to read "In-depth Understanding of Java Virtual Machine".
1. The GC algorithms of the new generation are almost all replication algorithms, that is to say, the survivor is also copied to the old generation.
2. There are several situations when objects move from the new generation to the old generation
There are some other situations, you can read the book