On Wed, 10 Jan 2024 18:01:01 GMT, Viktor Klang <vkl...@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

test/jdk/java/util/concurrent/SynchronousQueue/Fairness.java line 101:

> 99:         testFairness(false, new SynchronousQueue<>());
> 100:         testFairness(false, new SynchronousQueue<>(false));
> 101:         testFairness(true,  new SynchronousQueue<>(true));

@AlanBateman Better? :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17082#discussion_r1447741829

Reply via email to