To understand the enhancements to CDS archives with JDK 12, let's quickly recap what CDS is and how it impacts your applications. I covered this briefly in Chapter 2, AppCDS.
Default CDS archives
What is CDS?
A commercial feature with Oracle JVM since Java 8, CDS helps to reduce the start up time of a Java application and its memory footprint. This is especially notable when you are working with multiple JVMs.
On startup, JVM prepares the environment for execution. It includes bytecode loading, verification, linking, and initializing of the core classes and interfaces. The classes and interfaces are combed into the runtime state of the JVM so that they can be executed. It also includes method areas and constant pools...