-
Bug
-
Resolution: Fixed
-
P4
-
17, 21, 22, 23
-
b06
-
x86_64
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8340582 | 21.0.6-oracle | Johny Jose | P4 | Resolved | Fixed | b01 |
JDK-8334705 | 21.0.5 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
java/util/concurrent/SynchronousQueue/Fairness.java
Here's a snippet from the log file:
#section:main
----------messages:(7/220)----------
command: main Fairness
reason: Assumed action based on file name: run main Fairness
started: Wed Aug 16 19:43:08 UTC 2023
Mode: agentvm
Agent id: 50
finished: Wed Aug 16 19:43:55 UTC 2023
elapsed time (seconds): 47.581
----------configuration:(12/1456)----------
<snip>
----------System.err:(12/533)----------
java.lang.Error: fair=false i=8 j=0
at Fairness.testFairness(Fairness.java:64)
at Fairness.main(Fairness.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Error: fair=false i=8 j=0
This failure mode reminds me of:
which was fixed in jdk-22+8 on 2023.07.22.
- backported by
-
JDK-8334705 java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=false i=8 j=0"
- Resolved
-
JDK-8340582 java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=false i=8 j=0"
- Resolved
- relates to
-
JDK-8300663 java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=true i=0 j=1"
- Closed
- links to
-
Commit openjdk/jdk21u-dev/fe999ba7
-
Commit openjdk/jdk/35e96627
-
Review openjdk/jdk21u-dev/745
-
Review openjdk/jdk/15337
-
Review openjdk/jdk/17082