RFR: 8374879: NMethodRelocationTest fails with -Xcomp after 8369150 [v2]
Christian Hagedorn
chagedorn at openjdk.org
Mon Jan 12 08:06:37 UTC 2026
On Sat, 10 Jan 2026 03:02:24 GMT, SendaoYan <syan at openjdk.org> wrote:
>> Hi all,
>>
>> It seems that -Xcomp will compile all the java methods. And one of those method trigger NULL_CHECK assert inside jvmti->GetMethodName function. The method which trigger NULL_CHECK assert only observed when this test started by jtreg.
>> So I think this test do not compatible with -Xcomp option.
>>
>> This PR add another "@requires'' to skip this test when jtreg receive -Xcomp or -Xint option.
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>
> Use vm.compMode == "Xmixed" instead
Looks good, thanks!
-------------
Marked as reviewed by chagedorn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29139#pullrequestreview-3649537971
More information about the serviceability-dev
mailing list