title: How to use -XX:+UnlockDiagnosticVMOptions -XX:CompileCommand=print option with JVM HotSpot
body: <p>I 'm trying to use <code>-XX:+UnlockDiagnosticVMOptions -XX:CompileCommand=print,*MyClass.myMethod</code> command lines as described in <a href="https://stackoverflow.com/questions/9336704/jvm-option-to-optimize-loop-statements#answer-9337542">this post</a>.</p>
  
  <p>It seems thats it's available with <code>open-jdk</code> (<a href="https://wikis.oracle.com/display/HotSpotInternals/PrintAssembly" rel="nofollow noreferrer">https://wikis.oracle.com/display/HotSpotInternals/PrintAssembly</a>).</p>
  
  <p><strong>How can I use those options (or similar equivalents) with oracle JDK7 and the JVM HotSpot?</strong></p>