Integrated: 8368303: AlwaysAtomicAccesses is excessively strict
Andrew Haley
aph at openjdk.org
Tue Oct 7 10:11:58 UTC 2025
On Mon, 22 Sep 2025 16:51:08 GMT, Andrew Haley <aph at openjdk.org> wrote:
> In C1, the experimental flag `AlwaysAtomicAccesses` treats accesses to all fields as if they were volatile fields. This is correct but excessive: we only need single-copy atomicity to satisfy `AlwaysAtomicAccesses`.
>
> We need this in order to allow progress on JDK-8365147.
This pull request has now been integrated.
Changeset: aed9485b
Author: Andrew Haley <aph at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/aed9485bbb1d93063e5e5f60ed84bfb36053bdd1
Stats: 14 lines in 1 file changed: 10 ins; 0 del; 4 mod
8368303: AlwaysAtomicAccesses is excessively strict
Reviewed-by: shade, vlivanov, dlong
-------------
PR: https://git.openjdk.org/jdk/pull/27432
More information about the hotspot-dev
mailing list