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

2024-01-16 Thread Chris Hegarty
On Tue, 16 Jan 2024 09:11:01 GMT, Chris Hegarty 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 > bro

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

2024-01-16 Thread Alan Bateman
On Tue, 16 Jan 2024 18:47:43 GMT, Joe Darcy wrote: > We can and have run retroactive CSRs in cases like this before; I recommend > we do one now. Yes although the issue will be mute once JDK-8323659 is integrated into jdk22. - PR Comment: https://git.openjdk.org/jdk/pull/17393#iss

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

2024-01-16 Thread Joe Darcy
On Mon, 15 Jan 2024 09:49:53 GMT, Alan Bateman wrote: > > With my CSR hat on, JDK-8301341 should never have made the changes it did > > without going through a CSR request. We have been bitten by this kind of > > problem many times. Unless a public method is specified to utilise another > > pu

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

2024-01-16 Thread Alan Bateman
On Tue, 16 Jan 2024 12:23:43 GMT, Chris Hegarty wrote: > Hi all, > > This pull request contains a backport of commit > [ee4d9aa4](https://github.com/openjdk/jdk/commit/ee4d9aa4c11c47e7cf15f2742919ac20311f9ea7) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. > > The commit be

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

2024-01-16 Thread Chris Hegarty
Hi all, This pull request contains a backport of commit [ee4d9aa4](https://github.com/openjdk/jdk/commit/ee4d9aa4c11c47e7cf15f2742919ac20311f9ea7) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. The commit being backported was authored by Chris Hegarty on 16 Jan 2024 and was re

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

2024-01-16 Thread Chris Hegarty
> 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 eight addi

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

2024-01-15 Thread Chris Hegarty
On Mon, 15 Jan 2024 09:49:53 GMT, Alan Bateman wrote: >> With my CSR hat on, JDK-8301341 should never have made the changes it did >> without going through a CSR request. We have been bitten by this kind of >> problem many times. Unless a public method is specified to utilise another >> public

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

2024-01-15 Thread Alan Bateman
On Mon, 15 Jan 2024 17:59:38 GMT, Chris Hegarty 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 > bro

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

2024-01-15 Thread Doug Lea
On Mon, 15 Jan 2024 17:59:38 GMT, Chris Hegarty 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 > bro

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

2024-01-15 Thread Chris Hegarty
> 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 addi

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

2024-01-15 Thread Alan Bateman
On Mon, 15 Jan 2024 12:09:48 GMT, Chris Hegarty 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 > bro

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

2024-01-15 Thread Chris Hegarty
On Mon, 15 Jan 2024 12:34:57 GMT, Doug Lea wrote: > Sorry for needlessly calling overridable versions in these two cases. I > should have caught that. No problem, easy to overlook. I assume you are ok with the changes? If so, could I please ask you to add your review. Otherwise, is there anoth

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

2024-01-15 Thread Doug Lea
On Mon, 15 Jan 2024 12:09:48 GMT, Chris Hegarty 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 > bro

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

2024-01-15 Thread Chris Hegarty
> 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 five addit

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

2024-01-15 Thread Chris Hegarty
On Mon, 15 Jan 2024 09:49:39 GMT, Chris Hegarty 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: > > Update > src/java.base/share/classes/

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

2024-01-15 Thread Alan Bateman
On Mon, 15 Jan 2024 01:55:12 GMT, David Holmes wrote: > With my CSR hat on, JDK-8301341 should never have made the changes it did > without going through a CSR request. We have been bitten by this kind of > problem many times. Unless a public method is specified to utilise another > public met

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

2024-01-15 Thread Chris Hegarty
On Mon, 15 Jan 2024 07:31:13 GMT, Andrey Turbanov wrote: >> 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:

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

2024-01-15 Thread Chris Hegarty
> 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: Update src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java Co-authored-by: An

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

2024-01-14 Thread Andrey Turbanov
On Fri, 12 Jan 2024 15:06:01 GMT, Chris Hegarty 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/class

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

2024-01-14 Thread David Holmes
On Fri, 12 Jan 2024 15:06:01 GMT, Chris Hegarty 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 With my CSR hat on, JDK-8

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

2024-01-12 Thread Chris Hegarty
> 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 - Changes: - all: https://git.openjdk.org/jdk/pull/17393/files - new: https

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

2024-01-12 Thread Chris Hegarty
On Fri, 12 Jan 2024 15:02:59 GMT, Chris Hegarty 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/class

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

2024-01-12 Thread Chris Hegarty
> 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: add test - Changes: - all: https://git.openjdk.org/jdk/pull/17393/files - new: https://

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Chris Hegarty
On Fri, 12 Jan 2024 10:38:40 GMT, Chris Hegarty wrote: > Update LinkedTransferQueue add and put methods to not call overridable. FTR - I agree that it's kinda annoying to be proposing this change and it is true that the consuming user code is making an assumption, but the impact of this is sig

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Viktor Klang
On Fri, 12 Jan 2024 12:10:46 GMT, Chris Hegarty wrote: >>> this PR is against mainline, but the issue's Fix Version/s is 22. >> >> I updated the fix version in JIRA, and followed the process as outlined in >> https://mail.openjdk.org/pipermail/jdk-dev/2023-December/008560.html > >> @ChrisHegart

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Chris Hegarty
On Fri, 12 Jan 2024 11:22:13 GMT, Chris Hegarty wrote: >>> A process-related comment: this PR is against mainline, but the issue's Fix >>> Version/s is 22. This will create a bit of a mess if integrated. >> >> Thanks for the reminder Pavel. If accepted, then the change will be >> applicable t

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Viktor Klang
On Fri, 12 Jan 2024 11:22:13 GMT, Chris Hegarty wrote: >>> A process-related comment: this PR is against mainline, but the issue's Fix >>> Version/s is 22. This will create a bit of a mess if integrated. >> >> Thanks for the reminder Pavel. If accepted, then the change will be >> applicable t

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Chris Hegarty
On Fri, 12 Jan 2024 11:11:51 GMT, Chris Hegarty wrote: > this PR is against mainline, but the issue's Fix Version/s is 22. I updated the fix version in JIRA, and followed the process as outlined in https://mail.openjdk.org/pipermail/jdk-dev/2023-December/008560.html - PR Comment:

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Chris Hegarty
On Fri, 12 Jan 2024 11:07:17 GMT, Pavel Rappo wrote: > A process-related comment: this PR is against mainline, but the issue's Fix > Version/s is 22. This will create a bit of a mess if integrated. Thanks for the reminder Pavel. If accepted, then the change will be applicable to 23, 22, and 2

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Pavel Rappo
On Fri, 12 Jan 2024 10:38:40 GMT, Chris Hegarty wrote: > Update LinkedTransferQueue add and put methods to not call overridable. A process-related comment: this PR is against mainline, but the issue's Fix Version/s is 22. This will create a bit of a mess if integrated. - PR Commen

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Chris Hegarty
On Fri, 12 Jan 2024 11:03:02 GMT, Alan Bateman wrote: > This feels more like a hazard when extending to override behavior. Yeah, this is certainly a potential issue with any subclass-able class. I remember seeing similar before in other areas too. > I think it would be useful to provide a sum

Re: RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Alan Bateman
On Fri, 12 Jan 2024 10:38:40 GMT, Chris Hegarty wrote: > Update LinkedTransferQueue add and put methods to not call overridable. This feels more like a hazard when extending to override behavior. I think it would be useful to provide a summary on what the override wants to do, maybe there are

RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

2024-01-12 Thread Chris Hegarty
Update LinkedTransferQueue add and put methods to not call overridable. - Commit messages: - Update LinkedTransferQueue add and put methods to not call overridable offer Changes: https://git.openjdk.org/jdk/pull/17393/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17393&ran