RFR: 8369150: NMethodRelocationTest fails when JVMTI events not published before JVM exit [v6]
Chad Rakoczy
duke at openjdk.org
Wed Jan 7 02:11:15 UTC 2026
On Wed, 7 Jan 2026 01:15:31 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Chad Rakoczy has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Remove JNIenv use and update shouldExit
>
> test/hotspot/jtreg/serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java line 108:
>
>> 106: while (!shouldExit()) {
>> 107: WHITE_BOX.fullGC();
>> 108: }
>
> Q: Should we add a short sleep between calls to `WHITE_BOX.fullGC()`?
I think `WHITE_BOX.fullGC()` blocks until the GC completes so I'm not sure a sleep is necessary.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28683#discussion_r2666831479
More information about the serviceability-dev
mailing list