title: How to check if the JIT compiler is off in Java
body: <p>I would like to know how to check if the JIT compiler is turned off. I have the following code which is meant to turn the JIT compiler off.The problem is, I am not sure if it is actually doing that. So I was wondering if there is a way of checking if the JIT is off. 
  I looked at the Compiler class but there isn't any method like <code>isDisabled/enabled()</code>.</p>
  
  <p>Code: </p>
  
  <pre><code>Compiler.disable();  
  </code></pre>
  
  <p>Any help or direction will be highly appreciated.</p>