RFR: 8305753: Allow JIT compilation for -Xshare:dump [v4]
Ioi Lam
iklam at openjdk.org
Tue Oct 24 00:44:53 UTC 2023
> This RFE makes it possible for the user to enable the JIT compiler during the CDS dump by specifying `-Xshare:dump -Xmixed`
>
> By default, `-Xshare:dump` runs with `-Xint`. This maintains the previous behavior.
>
> Which mode to use?
>
> - Dumping in `-Xint` mode is faster when the classlist is small. `-Xint` is also required for deterministic dumping (compiler threads can change the order of the archived object).
>
> - However, dumping in `-Xmixed` mode is faster when the class list is larger. We also need to run the compiler in Leyden so that we can generate the CDS archive and AOT code at the same time.
>
>
> Tested with tiers 1-4 and builds-tier5.
Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge branch 'master' into 8305753-enable-jit-for-xshare-dump
- Added a note about running -Xshare:dump -Xmixed in the java.1 man page
- @calvinccheung review comments
- 8305753: Enable JIT compilation for -Xshare:dump
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16233/files
- new: https://git.openjdk.org/jdk/pull/16233/files/f118e3b3..dadaefd7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16233&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16233&range=02-03
Stats: 10275 lines in 392 files changed: 6916 ins; 1707 del; 1652 mod
Patch: https://git.openjdk.org/jdk/pull/16233.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16233/head:pull/16233
PR: https://git.openjdk.org/jdk/pull/16233
More information about the hotspot-runtime-dev
mailing list