This is the result of my gc command. Why is the survivor area not swapped after Minor GC? Why didn't the old age increase at all?
Asked
Active
Viewed 129 times
0

dai
- 1,025
- 2
- 13
- 33
-
Which GC? What JVM version? – apangin Nov 18 '20 at 14:31
-
@apangin G1 and jdk1.8 – dai Nov 19 '20 at 01:47
1 Answers
2
S0C
/S0U
counters are not used with G1 GC.
G1 has no dedicated survivor spaces and no dedicated old/young areas. Any G1 region can serve as Old, Young or Survivor. See this article for details.
S1C
/S1U
jstat counters represent the total amount of memory occupied by survivor regions; S0C
/S0U
are always zero.

apangin
- 92,924
- 10
- 193
- 247