Integrated: 8305753: Allow JIT compilation for -Xshare:dump
Ioi Lam
iklam at openjdk.org
Tue Oct 24 06:37:37 UTC 2023
On Wed, 18 Oct 2023 05:43:11 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 08f79148
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/08f79148c6607bf2fce3710f112313e29c05ea90
Stats: 36 lines in 4 files changed: 26 ins; 0 del; 10 mod
8305753: Allow JIT compilation for -Xshare:dump
Reviewed-by: dholmes, matsaave, ccheung
-------------
PR: https://git.openjdk.org/jdk/pull/16233
More information about the hotspot-runtime-dev
mailing list