JVMは、SIGQUIT(殺す-3)のヒープ・ダンプを生成することになっていないダンプを取得するためにjmapを使用することができます。
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
は、ヒープダンプを生成する正しい方法です。