RFR: 8314515: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=false i=8 j=0" [v2]

Alan Bateman alanb at openjdk.org
Wed Jan 10 20:33:23 UTC 2024


On Wed, 10 Jan 2024 18:03:32 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> While this might not fix 8314515, it should at least make it more exact.
>
> Viktor Klang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
> 
>  - Cleaning up Fairness.java:s underlying queue implementation access
>  - Improving SynchronousQueue Fairness test to only proceed once observing that the previous thread is enqueued as a producer

Updated version looks much better.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17082#pullrequestreview-1814117488


More information about the core-libs-dev mailing list