-XX:PRINTHEAPATGC: detailed stack information before and after the GC is printed
Output form:
34.702: [GC {HEAP before GC invocations=7:
def New Generation Total 55296K, used 52568K [0x1ebd0000, 0x227d0000, 0x227d0000)
Eden Space 49152K, 99% used[0x1ebd0000, 0x21bce430, 0x21bd0000]
From space 6144K, 55% used[0x221d0000, 0x22527e10, 0x227d0000]
To space 6144K, 0% used [0x21bd0000, 0x21bd0000, 0x221d0000)
Tenured generation total 69632K, used 2696K [0x227d0000, 0x26bd0000, 0x26bd0000)
the space 69632K, 3% used[0x227d0000, 0x22a720f8, 0x22a72200, 0x26bd0000]
Compacting Perm Gen Total 8192K, used 2898K [0x26bd0000, 0x273d0000, 0x2abd0000)
The space 8192K, 35% used [0x26bd0000, 0x26ea4ba8, 0X26EA4C00, 0x273d0000)
Ro space 8192K, 66% used [0x2abd0000, 0X2B12BCC0, 0x2b12be00, 0x2b3d0000)
RW Space 12288K, 46% used [0x2b3d0000, 0x2b972060, 0x2b972200, 0x2bfd0000)
34.735: [defnew:52568k->3433k (55296K), 0.0072126 secs] 55264k->6615k (124928K)Heap after GC invocations=8:
def New Generation Total 55296K, used 3433K [0x1ebd0000, 0x227d0000, 0x227d0000)
Eden Space 49152K, 0% used[0x1ebd0000, 0x1ebd0000, 0x21bd0000]
From space 6144K, 55% used [0x21bd0000, 0x21f2a5e8, 0x221d0000)
To space 6144K, 0% used [0x221d0000, 0x221d0000, 0x227d0000)
Tenured generation total 69632K, used 3182K [0x227d0000, 0x26bd0000, 0x26bd0000)
the space 69632K, 4% used[0x227d0000, 0x22aeb958, 0x22aeba00, 0x26bd0000]
Compacting Perm Gen Total 8192K, used 2898K [0x26bd0000, 0x273d0000, 0x2abd0000)
The space 8192K, 35% used [0x26bd0000, 0x26ea4ba8, 0X26EA4C00, 0x273d0000)
Ro space 8192K, 66% used [0x2abd0000, 0X2B12BCC0, 0x2b12be00, 0x2b3d0000)
RW Space 12288K, 46% used [0x2b3d0000, 0x2b972060, 0x2b972200, 0x2bfd0000)
}
, 0.0757599 secs]