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.
Release Note: Allow JIT Compilation for `-Xshare:dump`
- Calvin Cheung
- Ioi Lam
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: