compiled method info

Christian Thalinger christian.thalinger at oracle.com
Thu May 3 13:13:55 PDT 2012


On May 3, 2012, at 11:54 AM, Xin Tong wrote:

> I am new to hotspot JVM. I am wondering how can I get a log of all the
> method compiled

You can print the compiled methods with -XX:+PrintCompilation.

> and how can i get the intermediate representation

This is more complicated.  Do you mean the graph that's produced during the compile?

> and
> optimizations performed on one particular method ?

Depends on the compiler used.  You might get an idea what's going on using -XX:+TimeCompiler (this is only available in a non-product build).

-- Chris

> 
> Thanks
> 
> Xin



More information about the hotspot-compiler-dev mailing list