Application Class-Data Sharing, or AppCDS, extends the capabilities of Class-Data Sharing (CDS). It enables programmers to include selected application classes in the shared archive file, along with the core library classes, to reduce the startup time of Java applications. It also results in a reduced memory footprint.
The shared archive file created with AppCDS can include classes from the runtime image, application classes from the runtime image, and application classes from the classpath.
In this chapter, we'll cover the following topics:
Introduction to CDS
Creating a shared archive with CDS
Introduction to AppCDS
Identifying application files to be placed in the shared archive with AppCDS
Creating and using a shared application archive file