- Loading...
...
These flags are "diagnostic", meaning that they must be preceded by -XX:+UnlockDiagnosticVMOptions. On the command line, they must all be preceded by -XX:. They may also be placed in a flags file, .hotspotrc by default, or configurable as -XX:Flags=myhotspotrc.txt.
The plugin (minus the Gnu disassembler) is defined in the OpenJDK sources here:
http://hg.openjdk.java.net/jdk7/hotspot/hotspot/file/tip/src/share/tools/hsdis/![]()
This version of the plugin requires the Gnu disassembler, which is available separately as part of the binutils project.
Look at the README for instructions on building. Pre-built binaries are do not seem to be available (TBDhelp... helpanyone?).
Independently of the OpenJDK sources, there is an implementation of the plugin in the base-hsdis project at Kenai. This is a from-scratch implementation which uses code from the Bastard project at SourceForge. The copyrights on this code are non-restrictive.
The Kenai project offers binary downloads.
Individual methods may be printed:
...