JVM是不應該產生於SIGQUIT(殺死-3)堆轉儲。
PrintHeapAtSIGBREAK
意味着不同的事情。它打印堆佈局總結,例如
Heap
PSYoungGen total 75264K, used 3870K [0x000000076c600000, 0x0000000771a00000, 0x00000007c0000000)
eden space 64512K, 6% used [0x000000076c600000,0x000000076c9c7b68,0x0000000770500000)
from space 10752K, 0% used [0x0000000770f80000,0x0000000770f80000,0x0000000771a00000)
to space 10752K, 0% used [0x0000000770500000,0x0000000770500000,0x0000000770f80000)
ParOldGen total 172032K, used 0K [0x00000006c5200000, 0x00000006cfa00000, 0x000000076c600000)
object space 172032K, 0% used [0x00000006c5200000,0x00000006c5200000,0x00000006cfa00000)
Metaspace used 2471K, capacity 4486K, committed 4864K, reserved 1056768K
class space used 267K, capacity 386K, committed 512K, reserved 1048576K
jmap
是生成堆轉儲的正確方法。