This tool will help you to analyze the output of the JVM's -XX:+LogCompilation option.
To enable this option you also need to pass: -XX:+UnlockDiagnosticVMOptions
to the program under JIT logging.
Optionally you can specify the name of the output file with -XX:LogFile=FILENAME
, the default is hotspot.log.
The parsing of the output is done with OpenJDK's LogCompilation tool with small modifications.
mvn clean package
Double-click on target/jittree.jar
or
java -jar target/jittree.jar <logfile>
I have only tested it with the output of JDK version 1.7.0_07.
JIT Tree is distributed under the MIT License
LogCompilation is part of the OpenJDK and distributed under GNU GPLv2