How to inspect hotspot compiler results? hsdis binaries for Windows?

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Thu Nov 19 18:24:51 PST 2009


Ulf Zibis wrote:
> P.S.: Is there any documentation, how to read the special 
> key-letters/words, printed from CompileCommand?

What do you mean? Please, give example.

>>> -Xcomp
>>> What is this ? There is no docu on 
>>> jdk1.7.0/docs/technotes/tools/windows/java.html
>>
>> We use it for stress testing out JIT compiler when all called methods
>> are immediately compiled without reaching threshold.
>> Note: the program execution will be very slow and generated code
>> for compiled methods could be very different from normal execution
>> since no profiling information is collected for executed bytecode.
> 
> Thanks.
> Can this option be specified for single methods ?

-Xcomp -XX:CompileOnly=class::method

But it will not do any inlining since called methods should not be compiled.

Vladimir

> 
> -Ulf



More information about the hotspot-dev mailing list