JDK-8295713 : runtime/ParallelLoad/SuperWait/SuperWaitTest.java fails intermittently on Windows
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-10-20
  • Updated: 2022-10-21
Related Reports
Relates :  
Description
This can be seen in GHA, for example:
  https://github.com/RealFYang/jdk/actions/runs/3286513225

```
#section:main
----------messages:(8/293)----------
command: main SuperWaitTest
reason: User specified action: run main/othervm SuperWaitTest 
started: Thu Oct 20 05:32:26 UTC 2022
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
finished: Thu Oct 20 05:41:43 UTC 2022
elapsed time (seconds): 556.383
----------configuration:(0/0)----------
----------System.out:(13/351)----------
Thread 1 was started...
Thread 2 was started...
Loading Thread #2: Starting forName thread ...
Loading Thread #2: Loading C
Loading Thread #2: Loading D
D called
C called
D.<init> called
C.<init> called
Loading Thread #1: Starting forName thread ...
Loading Thread #1: Loading A
Loading Thread #1: Waiting for A
Timeout refired 480 times
----------System.err:(0/0)----------
```
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10822 Date: 2022-10-21 18:19:36 +0000
21-10-2022

The test has broken synchronization. I wasn't expecting Thread2 to win anything.
21-10-2022

Hey [~coleenp], would you mind looking into these? I wonder if it has to do with low-CPU-count machines GHA has.
20-10-2022