How to get jmap histogram programmatically?
-
12-11-2019 - |
Question
I would like to get the equivalent of the ouput of jmap -histo
programmatically, from inside the monitored application. I see triggering a binary heap dump is possible through the HotSpot diagnostic bean, but I can't see how to get the histogram data. Is it possible ?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow