RFR: 8365147: AArch64: Replace DMB + LD + DMB with LDAR for C1 volatile field loads [v4]
Andrew Haley
aph at openjdk.org
Mon Mar 2 10:14:34 UTC 2026
On Fri, 27 Feb 2026 23:25:32 GMT, Ruben <duke at openjdk.org> wrote:
> This would add the `membar_acquire` where in case of `needs_atomic && !is_volatile` in `BarrierSetC1::load_at_resolved` it would have been skipped.
The only circumstances in which this is possible ls a `long` field on a 32-bit system. If a `membar_acquire` in such circumstances is a problem, we can hadle it separately.
To mitigate this would it be suitable to add a `needs_acquire` parameter to `volatile_field_load`?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26748#discussion_r2871556894
More information about the hotspot-dev
mailing list