RFR: 8295713: runtime/ParallelLoad/SuperWait/SuperWaitTest.java fails intermittently on Windows

Patricio Chilano Mateo pchilanomate at openjdk.org
Fri Oct 21 20:45:48 UTC 2022


On Fri, 21 Oct 2022 18:19:36 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> I added another semaphore so the test will run in the order I want it to.  Alternate suggestions or corrections welcome.
> Running with GHA, and our tier1 in progress.

Looks good to me. But I think mainSync is not needed now. Thread 1 will always get to wait() before Thread 2 reaches the notify() call while loading D, so that should be enough to avoid the lost notification issue.

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

Marked as reviewed by pchilanomate (Reviewer).

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


More information about the hotspot-runtime-dev mailing list