[jdk25u-dev] RFR: 8372835: WorkQueue::push is missing an acquire-fence
Aleksey Shipilev
shade at openjdk.org
Tue Jan 13 11:35:05 UTC 2026
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`
-------------
Commit messages:
- 8372835: WorkQueue::push is missing an acquire-fence
Changes: https://git.openjdk.org/jdk25u-dev/pull/141/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=141&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8372835
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/141.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/141/head:pull/141
PR: https://git.openjdk.org/jdk25u-dev/pull/141
More information about the jdk-updates-dev
mailing list