Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261455 Automatically generate the CDS archive if necessary
  3. JDK-8288376

Release Note: Automatic Generation of the CDS Archive

XMLWordPrintable

      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.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: