Java 13 – Dynamic CDS Archives

What is dynamic CDS Archive? 

Dynamic Class Data Sharing (CDS)  is the archiving of classes after the end of Java Application execution. This in turn increases performance by re-using the archive instead of having the JVM re-create them on startup.  

Which files can be archived? 

All loaded application classes. 

Library classes which are not present in the default, base-layer CDS archive. 

How do you create a CDS  archive file? 

How do you run JAR file from an existing CDS archive? 

Further Reading: 

JEP 350: Dynamic CDS Archives

Leave a Reply

Your email address will not be published. Required fields are marked *