1.JSTAT-GC 10098
s0c s1c s0u s1u EC EU OC OU MC MU ccsc CCSU YGC YGCT FGC FGCT GCT
56320.0 93184.0 56064.5 0.0 1098240.0 941742.1 479232.0 164843.3 126080.0 122784.3 13952.0 13335.0 28 1.204 4 0 .953 2.157
Heap memory = young generation + old generation + permanent generation
Young generation = Eden Zone + two survivor zones (from and to)
Jstat-options
-class
-compiler
-gc
-gccapacity
-gccause
-gcmetacapacity
-gcnew
-gcnewcapacity
-gcold
-gcoldcapacity
-gcutil
-printcompilation
s0c, s1c, s0u, S1u:survivor 0/1 area Capacity (capacity) and usage (used)
EC, Eu:eden area capacity and usage
OC, OU: Capacity and usage for older generations
PC, PU: Permanent generation capacity and usage Jkd8 after using meta space instead (MC, MU)
YGC, YGT: Young generation GC times and GC time-consuming
FGC, Fgct:full GC times, and full GC time-consuming
GCT:GC Total time-consuming
How to monitor the Java garbage collection mechanism: JPS, Jstack, Jmap, Jhat, Jstat