Mercurial > hg > truffle
view src/share/tools/LogCompilation/README @ 2085:ef3c5db0b3ae
7008165: Garbage in ClassFormatError message
Summary: When bootstrap_method_ref in BootstrapMethods attribute points to a wrong CP entry (non-MethodHandle), JVM throws ClassFormatError with a message, where method index and class file name is garbage.
Reviewed-by: iveresov
author | twisti |
---|---|
date | Tue, 21 Dec 2010 04:37:30 -0800 |
parents | 07d449658fc7 |
children | 2aff40cb4703 |
line wrap: on
line source
This 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. More information about the LogCompilation output can be found at http://wikis.sun.com/display/HotSpotInternals/LogCompilation+overview http://wikis.sun.com/display/HotSpotInternals/PrintCompilation http://wikis.sun.com/display/HotSpotInternals/LogCompilation+tool