Is there any way to do an assembly dump of the native code generated by the Java just-in-time compiler?
And a related question: Is there any way to use the JIT compiler without running the JVM to compile my code into native machine code?
Is there any way to do an assembly dump of the native code generated by the Java just-in-time compiler?
And a related question: Is there any way to use the JIT compiler without running the JVM to compile my code into native machine code?
Check out the Oracle Solaris Studio Performance Analyzer. I saw Charlie Hunt demo it at a conference, and it was simply breathtaking. It lets you do runtime debugging and disassembly of Java applications, i.e. view the machine instructions with hotspots actually highlighted. See also this book excerpt: http://charliehunt.ulitzer.com/node/2067673
More documentation: Oracle Solaris Studio 12.2: Performance Analyzer