instruction timings / optimization ?

John Rose John.Rose at Sun.COM
Sat Sep 19 11:43:30 PDT 2009


On Sep 19, 2009, at 11:00 AM, Emmanuel Castro wrote:

> Is there a not too complicated way to get the x86 (or other  
> processor) instructions produced by the JVM?
>
> Maybe there is a link to some Wiki explaining that?


Indeed:  Google "hotspot disassembler", or look at these links:

   http://wikis.sun.com/display/HotSpotInternals/PrintAssembly
   http://kenai.com/projects/base-hsdis

It's a separate plugin rather than a built-in feature, for reasons of  
history and software ownership.  But having a plugin at that point is  
actually a pretty powerful hook.

-- John


More information about the mlvm-dev mailing list