RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer [v6]

Doug Lea dl at openjdk.org
Mon Jan 15 18:14:23 UTC 2024


On Mon, 15 Jan 2024 17:59:38 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:
> 
>  - Merge branch 'master' into ltq_bug
>  - order of tags
>  - Merge branch 'master' into ltq_bug
>  - Update src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java
>    
>    Co-authored-by: Andrey Turbanov <turbanoff at gmail.com>
>  - timed offer
>  - add test
>  - Update LinkedTransferQueue add and put methods to not call overridable offer

Yes, the change looks right to me -- changing the only two calls that could matter here.

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

PR Comment: https://git.openjdk.org/jdk/pull/17393#issuecomment-1892605207


More information about the core-libs-dev mailing list