[jdk17u-dev] RFR: 8270894: Use acquire semantics in ObjectSynchronizer::read_stable_mark()

Paul Hohensee phh at openjdk.org
Thu Jun 29 15:13:07 UTC 2023


On Thu, 29 Jun 2023 14:30:31 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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`

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/1507#pullrequestreview-1505515144


More information about the jdk-updates-dev mailing list