Integrated: 8374879: NMethodRelocationTest fails with -Xcomp after 8369150

SendaoYan syan at openjdk.org
Thu Jan 15 02:48:52 UTC 2026


On Fri, 9 Jan 2026 13:41:22 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.

This pull request has now been integrated.

Changeset: 2b1e11c2
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2b1e11c2541f799142bd71e9526cbd04743c6f4e
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8374879: NMethodRelocationTest fails with -Xcomp after 8369150

Reviewed-by: lmesnik, chagedorn

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

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


More information about the serviceability-dev mailing list