[jdk17u-dev] RFR: 8270894: Use acquire semantics in ObjectSynchronizer::read_stable_mark()
Aleksey Shipilev
shade at openjdk.org
Thu Jun 29 14:37:31 UTC 2023
Unclean backport to improve synchronization code reliability. Does not apply cleanly due to later BiasedLocking retirement, which failed a hunk in `ObjectSynchronizer::inflate_helper`, applied that hunk by hand. Additionally, I rewrote the new definition to match what upstream has. This completes the [JDK-8272654](https://bugs.openjdk.org/browse/JDK-8272654) backport.
Additional testing:
- [ ] Linux x86_64 fastdebug `tier1`
- [ ] Linux x86_64 fastdebug `tier2`
- [ ] Linux x86_64 fastdebug `tier3`
-------------
Commit messages:
- Backport f22619032df2cf45664f110c71ddf509a5128900
Changes: https://git.openjdk.org/jdk17u-dev/pull/1507/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1507&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8270894
Stats: 10 lines in 3 files changed: 5 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/1507.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1507/head:pull/1507
PR: https://git.openjdk.org/jdk17u-dev/pull/1507
More information about the jdk-updates-dev
mailing list