title: javac optimization flags
body: <p>I've recently been writing a lot of code in C and am now switching over to Java. I'm currently implementing a large data structure and was wondering whether there were any optimization flags I can turn on when I invoke the Java compiler in order to improve performance like in gcc.</p>
  
  <p>I'm used to:</p>
  
  <pre><code>gcc -O3 -NDEBUG MyProgram.c
  </code></pre>
  
  <p>is there an analogous command for <code>javac</code>?</p>
  
  <p>I'm using JDK and am running Ubuntu 10.04.</p>