RFR: 8369150: NMethodRelocationTest fails when JVMTI events not published before JVM exit [v6]

Leonid Mesnik lmesnik at openjdk.org
Thu Jan 8 01:14:52 UTC 2026


On Wed, 7 Jan 2026 03:45:35 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> I think `WHITE_BOX.fullGC()` blocks until the GC completes so I'm not sure a sleep is necessary.
>
> Thanks. I'm okay with as it is.

Technically, the compiled unload events are deferred events  and posted synchronically on another thread. So small delay helps to caught this event before starting next full GC cycle. 
However it is not very important here. So that's find to call GC until we reach for results.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28683#discussion_r2670546331


More information about the serviceability-dev mailing list