RFR: 8369150: NMethodRelocationTest fails when JVMTI events not published before JVM exit [v2]
Chad Rakoczy
duke at openjdk.org
Thu Dec 18 20:29:38 UTC 2025
> [JDK-8369150](https://bugs.openjdk.org/browse/JDK-8369150)
>
> The test checks for JVMTI `COMPILED_METHOD_LOAD` and `COMPILED_METHOD_UNLOAD` events to be published for a relocated nmethod. JVMTI events however are not guaranteed to be published before the JVM exits which can occasionally cause the test to fail. Instead of failing if the events are not receive the test was modified to print an error and pass. However, the test will still fail if the method fails to compile or if the nmethod fails to relocate.
Chad Rakoczy has updated the pull request incrementally with two additional commits since the last revision:
- Require load and unload events
- Revert "Fix NMethodRelocationTest"
This reverts commit dae91d8d12820c94c2c412f3e84935072e572595.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28683/files
- new: https://git.openjdk.org/jdk/pull/28683/files/dae91d8d..d1577f8e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28683&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28683&range=00-01
Stats: 144 lines in 1 file changed: 64 ins; 67 del; 13 mod
Patch: https://git.openjdk.org/jdk/pull/28683.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28683/head:pull/28683
PR: https://git.openjdk.org/jdk/pull/28683
More information about the serviceability-dev
mailing list