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

Roman Kennke rkennke at openjdk.org
Mon Jul 3 14:54:06 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:
>  - [x] Linux x86_64 fastdebug `tier1`
>  - [x] Linux x86_64 fastdebug `tier2`
>  - [x] Linux x86_64 fastdebug `tier3`

Looks good to me. Thanks!

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

Marked as reviewed by rkennke (Reviewer).

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


More information about the jdk-updates-dev mailing list