Integrated: 8349122: -XX:+AOTClassLinking is not compatible with jdwp
Ioi Lam
iklam at openjdk.org
Fri Jan 31 05:40:49 UTC 2025
On Fri, 31 Jan 2025 01:33:21 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> If an AOT cache was created with -XX:+AOTClassLinking, do not load it when `-agent:jdwp....` is detected from the command-line
>
> Justification:
> Since AOT cache is an optimization feature, it's OK to disable this optimization when jdwp is required.
>
> Validation:
> This fix is validated by running JCK jdwp tests in AOT mode:
>
>
> Performing an AOT-enabled run...
> Using Extra: /jdk3/jck/JCK-extra-24/binaries/linux-amd64/config/runtime-multiJVM-noagent-Linux.jti
> Using JCK: /jdk3/jck/JCK-runtime-24
> Jan 30, 2025, 7:54:09?PM Harness starting test run with configuration "jck_runtime_linux"...
> Jan 30, 2025, 7:56:53?PM Finished executing all tests, wait for cleanup...
> Jan 30, 2025, 7:56:53?PM Harness done with cleanup from test run.
> Total time: 2 minutes 43 seconds (163 seconds)
> Setup time: 0 seconds
> Cleanup time: 0 seconds
> Tests found in the suite: 121,988
> Test results: passed: 157
>
>
> (some tests failed before this fix).
This pull request has now been integrated.
Changeset: 03f5c33b
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/03f5c33b53749ed7a1ee04d908909ce1e761477f
Stats: 20 lines in 3 files changed: 18 ins; 0 del; 2 mod
8349122: -XX:+AOTClassLinking is not compatible with jdwp
Reviewed-by: jrose, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/23378
More information about the hotspot-runtime-dev
mailing list