proper usage of -XX:+PrintIdeal
manojo10386 at gmail.com
Thu Nov 24 08:57:19 PST 2011
I am new to using the debug features of hotspot (probably posting to the
wrong list, as I haven't seen any list targetted to hotspot users), and was
interested in checking out the graph of a program that I wrote. The program
contains a method 'methodA' which I would like to inspect in terms of
optimizations performed. I verified using the PrintCompilation (and
PrintAssembly) flag that it was indeed JIT compiled.
When I use the PrintIdeal flags, however, my output xml files do not
contain any mention of this method. Here is the command I use :
$JAVA_HOME/bin/java -verbose:gc -server -d64 -XX:+UseCompressedOops
-XX:PrintIdealGraphFile="file.xml" -XX:+PrintIdeal $JAVA_OPTS "$@"
Would the problem be due to not using the flags properly?
Thanks a lot for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-dev