RFR: 8305753: Allow JIT compilation for -Xshare:dump [v3]
Ioi Lam
iklam at openjdk.org
Mon Oct 23 22:20:50 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 incrementally with one additional commit since the last revision:
Added a note about running -Xshare:dump -Xmixed in the java.1 man page
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16233/files
- new: https://git.openjdk.org/jdk/pull/16233/files/0931637e..f118e3b3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16233&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16233&range=01-02
Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 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