On Wed, 4 Dec 2024 03:07:46 GMT, Alex Menkov <amen...@openjdk.org> wrote:

> The PR fixes race in the test between ThreadStart/ThreadEnd callbacks and 
> agent thread:
> The callbacks increments event counter and then do self-suspend;
> Agent thread waits when expected number of events is received, then performs 
> verification and resumes the thread, but expected counter value does not mean 
> the threads are suspended.

Good catch and fix.

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22532#pullrequestreview-2490004963

Reply via email to