title: How to use Application Class-Data Sharing feature of java 10?
body: <p>I read about CDS in Oracle doc <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/vm/class-data-sharing.html" rel="noreferrer">https://docs.oracle.com/javase/8/docs/technotes/guides/vm/class-data-sharing.html</a></p>
  
  <p>What I understood is the system class files needed for loading the jvm are parsed, verified and then stored in a archive at  jre/lib/[arch]/client/classes.jsa. Moreover they also provide their memory mapping for jvm,so jvm directly maps the memory according to the mapping information given in the archive. So this reduces the overhead of class loading everytime a jvm instance starts. Please correct me if was wrong.</p>
  
  <p>Now coming to java 10, how can I achieve this for my application code ?
  Secondly, would the complete application code be eligible for CDS or are there some restrictions?</p>