RFR: 8369190: JavaFrameAnchor on AArch64 appears to be missing barriers [v2]
Andrew Haley
aph at openjdk.org
Mon Oct 6 16:21:25 UTC 2025
On Mon, 6 Oct 2025 16:08:43 GMT, Justin King <jcking at openjdk.org> wrote:
> Thinking about this, do we "actually" need store barriers at all, so long as the stores are in the correct program order and we put compiler reordering barriers? I assume when the signal is delivered to the thread, all writes are flushed before the signal handler is invoked such that it looks like program order was observed? AGCT is only ever used from the current thread.
Threads always see their own stores in program order, so no, we don't need store barriers.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27645#discussion_r2407277940
More information about the hotspot-dev
mailing list