https://github.com/opentable/otj-jvm
JVM inspection and debugging utilities
https://github.com/opentable/otj-jvm
jvm platform-java utilities
Last synced: 6 months ago
JSON representation
JVM inspection and debugging utilities
- Host: GitHub
- URL: https://github.com/opentable/otj-jvm
- Owner: opentable
- License: mit
- Created: 2016-04-22T23:53:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-13T20:24:17.000Z (about 2 years ago)
- Last Synced: 2024-05-14T00:26:33.357Z (about 1 year ago)
- Topics: jvm, platform-java, utilities
- Language: Java
- Size: 131 KB
- Stars: 5
- Watchers: 26
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
This library provides convenient access to JVM debugging information.
- `ThreadInfo.format` Get a `String` output as if you had run
`jcmd Thread.print -l` on the command-line.
- `Memory.dumpHeap` Dump heap to filesystem.
- `Memory.formatNmt` Human-readable formatting of [NMT][1]. 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.[1]: https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr007.html