RFR: 8349122: -XX:+AOTClassLinking is not compatible with jdwp [v2]
John R Rose
jrose at openjdk.org
Fri Jan 31 02:53:03 UTC 2025
On Fri, 31 Jan 2025 02:50:28 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
Thanks; that reads a little better. Logic is still good.
-------------
Marked as reviewed by jrose (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23378#pullrequestreview-2585569159
More information about the hotspot-runtime-dev
mailing list