March 2019
Intermediate to advanced
242 pages
6h 21m
English
Often, developers end up not using a feature that could enhance the performance of their application—out of ignorance—by just missing a step. Or should we call it a usability issue?
At present, even though the JDK includes a default class list, it can be used with the following command:
java -Xshare:dump
Even though this behavior is documented, developers miss reading the document, and hence, can't use this feature.
JDK 12 modifies the build process. It runs the java -Xshare:dump command after linking it to the class list. To ensure that the CDS archive file is part of the JDK image, the shared archive file is placed in the lib/server directory.
The shared archive file is used automatically during application startup, since ...
Read now
Unlock full access