RFR: 8374879: NMethodRelocationTest fails with -Xcomp after 8369150 [v2]
Leonid Mesnik
lmesnik at openjdk.org
Wed Jan 14 16:13:32 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
I think, the re-review is not needed if you have 2 reviews.
-------------
Marked as reviewed by lmesnik (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29139#pullrequestreview-3661553475
More information about the serviceability-dev
mailing list