- Mastering Java 11
- Dr. Edward Lavieri
- 26字
- 2021-08-13 15:43:18
Using the AppCDS archive
To use the AppCDS archive, we issue the -Xshare:on command line option, as shown here:
java -Xshare:on -XX:+UseAppCDS -XX:SharedArchiveFile=ch2.jsa -cp ch2.jar Chapter2