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

Aleksey Shipilev shade at openjdk.org
Tue Jul 4 09:48:02 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`

This pull request has now been integrated.

Changeset: 8d6c17d9
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/8d6c17d99c97832439ad2b54f75ad05c2c1f9d8d
Stats:     10 lines in 3 files changed: 5 ins; 0 del; 5 mod

8270894: Use acquire semantics in ObjectSynchronizer::read_stable_mark()

Reviewed-by: phh, rkennke
Backport-of: f22619032df2cf45664f110c71ddf509a5128900

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

PR: https://git.openjdk.org/jdk17u-dev/pull/1507


More information about the jdk-updates-dev mailing list