RFR: 8349122: -XX:+AOTClassLinking is not compatible with jdwp

John R Rose jrose at openjdk.org
Fri Jan 31 02:45:48 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

Marked as reviewed by jrose (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/23378#pullrequestreview-2585557539


More information about the hotspot-runtime-dev mailing list