-
Sub-task
-
Resolution: Delivered
-
P4
-
19
The JVM option `-XX:+AutoCreateSharedArchive` can be used to automatically create or update a CDS archive for an application. For example:
`java -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=app.jsa -cp app.jar App`
The specified archive will be written if it does not exist, or if it was generated by a different version of the JDK.
`java -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=app.jsa -cp app.jar App`
The specified archive will be written if it does not exist, or if it was generated by a different version of the JDK.