title: Escape analysis in Java
body: <p>As far as I know the JVM uses escape analysis for some performance <a href="http://www.ibm.com/developerworks/java/library/j-jtp10185/" rel="noreferrer">optimisations</a> like lock coarsening and lock elision.
  I'm interested if there is a possibility for the JVM to decide that any particular object can be allocated on stack using escape analysis.</p>
  
  <p>Some <a href="http://www.ibm.com/developerworks/java/library/j-jtp09275.html" rel="noreferrer">resources</a> make me think that I am right. Is there JVMs that actually do it?</p>