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

Coleen Phillimore coleenp at openjdk.org
Tue Oct 25 13:19:53 UTC 2022


On Tue, 25 Oct 2022 12:25:03 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.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   David's fix - allow thread 2 to run first.

My n-1 change makes thread 2 wait for loading C and D until thread1 is in the locked region for loading A (which was the deadlock scenario before the wait() is introduced).   It doesn't really matter if thread 2 goes first with the dIsLoading change.  Either way, the test will complete and not miss a notify.

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

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


More information about the hotspot-runtime-dev mailing list