title: How to print the JIT compilation messages for all the methods get compiled to native code of a given class
body: <p>I know I could use <code>-XX:+UnlockDiagnosticVMOptions</code> along with <code>-XX:CompileCommand=print,*TheGivenClass.TheGivenMethod'</code> to output the log for <code>TheGivenMethod</code> of the class: <code>TheGivenClass</code> when it is compiled into native code by JIT.</p>
  <p>But what if I would like JVM to output the messages for any method of <code>TheGivenClass</code> as long as those methods get compiled into native code? thanks for the answer.</p>