[jdk21u] RFR: 8301341: LinkedTransferQueue does not respect timeout for poll()

Martin Buchholz martin at openjdk.org
Fri Sep 15 21:49:49 UTC 2023


On Fri, 15 Sep 2023 18:39:02 GMT, Rob McKenna <robm at openjdk.org> wrote:

> Backport
> 
> - 830134
> - 8300663
> - 8267502

src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java line 180:

> 178:      * increase CAS contention and overhead. Using the smallest
> 179:      * non-zero value of one is both simple and empirically a good
> 180:      * choice in most applicatkions.  The slack value is hard-wired: a

typo: applicatkions

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

PR Review Comment: https://git.openjdk.org/jdk21u/pull/168#discussion_r1327819632


More information about the jdk-updates-dev mailing list