RFR: 8374879: NMethodRelocationTest fails with -Xcomp after 8369150 [v2]
David Holmes
dholmes at openjdk.org
Tue Jan 13 02:31:14 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
It seems that prior to JDK-8369150 finding a null name was not a fatal error - though I'm unclear why Xcomp should trigger that.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29139#issuecomment-3741512230
More information about the serviceability-dev
mailing list