[jdk25u-dev] RFR: 8372835: WorkQueue::push is missing an acquire-fence

Goetz Lindenmaier goetz at openjdk.org
Sun Jan 18 06:29:26 UTC 2026


On Tue, 13 Jan 2026 12:33:53 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> This one is a little weird process-wise. There is `25.0.3-oracle` fix for it already, but no mainline fix (yet). Mainline would get it via [JDK-8375130](https://bugs.openjdk.org/browse/JDK-8375130). I think it is easier to "backport" this change instead of partially pick up JDK-8375130. This also addresses parity more thoroughly. There is no significant correctness risk here, as we "only" add a new barrier. Might have performance implications, but correctness trumps it.
>> 
>> Additional testing:
>>  - [x] Linux x86_64 server fastdebug, `java/util/concurrent`
>>  - [x] Linux x86_64 server fastdebug, `tier1`
>
> Hey @GoeLin, I am going to do it this way, see PR description. Any reason why we should do something else?

Hi @shipilev 
Yes, handling it this way is fine!

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/141#issuecomment-3764971157


More information about the jdk-updates-dev mailing list