How can I invoke heap-dump
from my Java program as similar to what jmap produces with "-histo"
option. As far as know heap-dump
in binary
form (or like output from "-dump" option
of jmap
) could be handled by using HotSpotDiagnosticMXBean
, but not for heap histogram(?)
Asked
Active
Viewed 342 times
2

trincot
- 317,000
- 35
- 244
- 286

Demir Yavas
- 21
- 1
-
1Actually there is typo in the title: hisgotram" --> "histogram" – Demir Yavas Oct 03 '13 at 12:40
-
1You can edit the title to fix it, by the way. – jonhopkins Oct 03 '13 at 12:42