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

Vladimir Kozlov kvn at openjdk.org
Fri Jan 31 03:13:45 UTC 2025


On Fri, 31 Jan 2025 02:53:03 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
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Renamed to has_jdwp_agent as suggested by @rose00

Looks good.

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

Marked as reviewed by kvn (Reviewer).

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


More information about the hotspot-runtime-dev mailing list