Integrated: 8365512: Replace -Xcomp with -Xmixed for AOT assembly phase
Vladimir Kozlov
kvn at openjdk.org
Fri Aug 15 00:04:15 UTC 2025
On Wed, 13 Aug 2025 20:03:43 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> When debugging AOT code generation in Leyden repo I noticed that AOT JIT compilations are serial with -Xcomp even so we create a lot of compiler threads to speed up. It is because -Xcomp enforce blocking compilation and only one thread submits AOT compilations. Also -Xcomp triggers a lot more other, not AOT, compilations which we don't need during assembly phase.
>
> I suggest to replace -Xcomp with -Xmixed for AOT assembly phase.
>
> I want to push it into mainline first because in mainline we don't even do AOT compilation yet.
>
> This should speed up AOT testing with -Xcomp.
>
> Tested tier1-6,8,10 (-rt)
This pull request has now been integrated.
Changeset: a65f2002
Author: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a65f20022080e627da4782b9b643912a9dd69335
Stats: 11 lines in 1 file changed: 9 ins; 0 del; 2 mod
8365512: Replace -Xcomp with -Xmixed for AOT assembly phase
Reviewed-by: shade
-------------
PR: https://git.openjdk.org/jdk/pull/26767
More information about the hotspot-runtime-dev
mailing list