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

Martin Buchholz martin at openjdk.org
Fri Sep 15 21:54:38 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 346:

> 344:      * scheme in which the caller advertises the need to unpark by
> 345:      * setting its waiter field, followed by a full fence and recheck
> 346:      * before actually parking. An explicit fence in used here rather

in used -> is used

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

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


More information about the jdk-updates-dev mailing list