Analyze the following GC logs:
[GC [psyounggen:9216k->1024k (9216K)] 1246196k->1246220k (1287040K), 0.2398360 secs] [times:user=0.29 sys=0.01, real=0.24 secs]
[Full GC [psyounggen:1024k->0k (9216K)] [paroldgen:1245196k->1245509k (1492992K)] 1246220k->1245509k ( 1502208K) [pspermgen:2402k->2402k (21248K)], 11.7459250 secs] [times:user=19.42 sys=0.03, real=11.75 secs]
- The GC and full GC at the beginning of the log indicate the type of pause for garbage collection;
- The first PS in the Psyounggen represents the garbage collector as the parallel scavenge collector, and the reclaimed area is the Cenozoic (Younggen)
- The front par in Paroldgen represents the garbage collector as the Parnew collector, and the reclaimed area is the old age (Younggen).
- 9216k->1024k (9216K) in square brackets indicates that the memory area uses capacity (the total capacity of the memory area) after the GC has used capacity->GC.
- 1246196k->1246220k (1287040K) indicates that the GC before the Java heap has used capacity->GC after Java pair has used capacity (Java to total capacity).
- 0.2398360 secs represents the time the GC occupies.
From for notes (Wiz)
Understanding the GC Log for Java