RFR: 8374879: NMethodRelocationTest fails with -Xcomp after 8369150 [v2]

SendaoYan syan at openjdk.org
Sat Jan 10 03:02:24 UTC 2026


> 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 option.

SendaoYan has updated the pull request incrementally with one additional commit since the last revision:

  Use vm.compMode == "Xmixed" instead

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29139/files
  - new: https://git.openjdk.org/jdk/pull/29139/files/fde3e4bc..7d397b59

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29139&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29139&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/29139.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29139/head:pull/29139

PR: https://git.openjdk.org/jdk/pull/29139


More information about the serviceability-dev mailing list