RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer [v3]
Andrey Turbanov
aturbanov at openjdk.org
Mon Jan 15 07:34:21 UTC 2024
On Fri, 12 Jan 2024 15:06:01 GMT, Chris Hegarty <chegar at openjdk.org> wrote:
>> Update LinkedTransferQueue add and put methods to not call overridable offer.
>
> Chris Hegarty has updated the pull request incrementally with one additional commit since the last revision:
>
> timed offer
src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java line 1162:
> 1160: Objects.requireNonNull(e);
> 1161: xfer(e, -1L);
> 1162: return true; }
Suggestion:
return true;
}
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17393#discussion_r1452006853
More information about the core-libs-dev
mailing list