Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8305753 Allow JIT compilation for -Xshare:dump
  3. JDK-8325127

Release Note: Allow JIT Compilation for `-Xshare:dump`

    XMLWordPrintable

Details

    Description

      It is now possible to enable JIT compilation when creating a CDS archive with the `-Xshare:dump` JVM option. By default, when `-Xshare:dump` is specified, the JIT compiler is disabled, as if the `-Xint` option were specified. This is necessary for creating CDS archives with deterministic content (see JDK-8241071). However, when creating a CDS archive with a very large class list, and when deterministic content is not required, you can add the `-Xmixed` option along with `-Xshare:dump` to enable the JIT compiler, which will speed up the archive creation.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: