title: Is the Java .class file stored in JVM memory
body: <p>I read on the JVM memory model and got confused with the follows:</p>
  
  <ol>
  <li>Does the JVM store the .class instance in its memory. If yes then in which area.</li>
  <li>Is it like as soon as the class is loaded,the JVM generated
  machine level code and then starts executing the machine code
  instructions and then only the objects are created on heap and
  method area is populated.</li>
  <li>The perm gen etc areas store the byte code or the machine level
  code?</li>
  <li>perm gen vs method area</li>
  </ol>
  
  <p>I would really appreciate any help on the topic.</p>
  
  <p>Thanks.</p>