配置JVM查看JIT编译机器码

JVM配置查看JIT编译机器码的选项:

-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly

查看特定的方法

-XX:+UnlockDiagnosticVMOptions -XX:CompileCommand=print,*MyClass.myMethod

版权声明:著作权归作者所有。

thumb_up 0 | star_outline 0 | textsms 0