title: Java memory areas in java 8
body: <p>I have read a lot about java memory areas, but looks like it is just a mess. Mostly due to the introduction of a new <code>MetaSpace</code> area instead of <code>PermGen</code> in java8. And there are questions now:</p>
  
  <ol>
  <li>What areas does the <code>heap</code> include in java8+ ?</li>
  <li>Where the <code>static</code> methods and variables are stored before java8 and java8+ ?</li>
  <li>Does the <code>MetaSpace</code> store anything except class meta-data info ?</li>
  <li>Does the structure of memory areas depend on the implementation of <code>JVM</code> ?</li>
  </ol>
  
  <p>Thank you for your answers.</p>