Integrated: 8341544: Restore fence() in Mutex

Anton Artemov duke at openjdk.org
Tue May 20 10:47:01 UTC 2025


On Mon, 5 May 2025 11:13:05 GMT, Anton Artemov <duke at openjdk.org> wrote:

> Added a fence in the mutex code in order to restore the old documented semantics of fence - lock - acquire. 
> 
> No significant performance impact observed in an extending testing.
> 
> Tested in tiers 1-3.

This pull request has now been integrated.

Changeset: ab985a7c
Author:    Anton Artemov <anton.artemov at oracle.com>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ab985a7c5d313304e6d601571885dcb871967259
Stats:     13 lines in 2 files changed: 13 ins; 0 del; 0 mod

8341544: Restore fence() in Mutex

Reviewed-by: eosterlund, dholmes

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

PR: https://git.openjdk.org/jdk/pull/25033


More information about the hotspot-runtime-dev mailing list