title: Do java finals help the compiler create more efficient bytecode?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4279420/does-use-of-final-keyword-in-java-improve-the-performance">Does use of final keyword in Java improve the performance?</a>  </p>
  </blockquote>
  
  
  
  <p>The <em>final</em> modifier has <a href="http://en.wikipedia.org/wiki/Final_%28Java%29" rel="noreferrer">different consequences</a> in java depending on what you apply it to. What I'm wondering is if <em>additionally</em> it might help the compiler create more efficient bytecode. I suppose the question goes deep into how the JVM work and might be JVM specific.</p>
  
  <p>So, in your expertise, do any of the following help the compiler, or do you only use them for the normal java reasons?</p>
  
  <ul>
  <li>Final classes</li>
  <li>Final methods</li>
  <li>Final fields</li>
  <li>Final method arguments</li>
  </ul>
  
  <p>Thanks!</p>
  
  <p>EDIT: Thanks for all your answers! Please note that, as @Zohaib suggested, my question is a duplicate of <a href="https://stackoverflow.com/questions/4279420/does-use-of-final-keyword-in-java-improve-the-performance">this</a>. I didn't search well enough before posting. I'm not deleting it because you guys made good contributions, but the answers could be merged. I'll let the "vote for close" system decide unless told otherwise.</p>