© Kishori Sharan 2019
K. SharanJava 13 Revealedhttps://doi.org/10.1007/978-1-4842-5407-3_7

7. Class Data Sharing

Kishori Sharan1 
Montgomery, AL, USA
In this chapter, you will learn
  • What class data sharing (CDS) is

  • What application class data sharing (AppCDS) is

  • How to use CDS and AppCDS in your applications

  • What the default CDS archive is in JDK12 and how Java applications use it automatically

  • What the dynamic CDS archives are in JDK13

  • How to generate and use dynamic CDS archives for your applications

When a JVM starts, it typically loads thousands of classes from Java core library. Loading so many classes at startup takes time. If you start multiple JVMs, each JVM performs the same task – loads the same copy of thousands of system classes ...

Get Java 13 Revealed: For Early Adoption and Migration now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.