Sometimes seeing the actual assembly code that hotspot creates can be very helpful. "-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly" should do the trick.
But you will probably get the following message:
Could not load hsdis-i386.dll; library not loadable; PrintAssembly is disabled
This happens when the library that does the actual disassembly is missing.
Building this library can be really tricky, especially on Windows. Here is a precompiled binary: hsdis-i386.zip (Windows x86)
Wednesday, March 10, 2010
Subscribe to:
Post Comments (Atom)
Thanks a ton. This was very helpful. It saved me lot of time and trouble.
ReplyDeleteThanks a lot! It really helps.
ReplyDeletethanks
ReplyDelete