LogCompilation tool

Skip to end of metadata
Go to start of metadata

Starting in hs15 of HotSpot in src/share/tool/LogCompilation is a very rough tool for parsing -XX:+LogCompilation output. It's main purpose is to recreate output similar to -XX:+PrintCompilation -XX:+PrintInlining output from a debug JVM. It requires a 1.5 JDK to build and simply typing make should build it.

It produces a jar file, logc.jar, that can be run on the hotspot.log from LogCompilation output like this:

java -jar logc.jar hotspot.log

This will produce something like the normal PrintCompilation output. Adding the -i option with also report inlining like PrintInlining.

LogCompilation overview has more information about the LogCompilation output itself and PrintCompilation has more information about interpreting PrintCompilation style output.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.

The individuals who post here are part of the extended Oracle community and they might not be employed or in any way formally affiliated with Oracle. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Oracle nor any other party necessarily agrees with them.