This library provides convenient access to JVM debugging information.
ThreadInfo.format
Get aString
output as if you had runjcmd Thread.print -l
on the command-line.Memory.dumpHeap
Dump heap to filesystem.Memory.formatNmt
Human-readable formatting of NMT. Provides simpler and more concise formatting than that returned by the JVM.Memory.getNmt
Parsed NMT data (Nmt
instance), suitable for tracking in analytics systems, such as Graphite.Memory.pollNmt
Runs poller thread that periodically logs human-readable NMT.Nmt.invoke
If you really must, you can easily get at the JVM-formatted human-readable NMT summary.