RFR: 8301341: LinkedTransferQueue does not respect timeout for poll() [v3]
Viktor Klang
duke at openjdk.org
Fri Jun 30 12:56:56 UTC 2023
On Thu, 29 Jun 2023 22:53:10 GMT, Doug Lea <dl at openjdk.org> wrote:
>> This now uses Thread.isVirtual to distinguish spin vs immediate block cases, enabling re-introduction of spin control from the previous version, removing anomalies like this one.
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
>
> Overhaul LTQ and SQ to use common blocking and matching mechanics
src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java line 115:
> 113: * indicating whether to act as some form of offer, put, poll,
> 114: * take, or transfer (each possibly with timeout), as described
> 115: * bwlow.
@DougLea Small typo—s/bwlow/below
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14317#discussion_r1247831262
More information about the core-libs-dev
mailing list