RFR: 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
Nick Gasson
ngasson at openjdk.org
Wed Oct 2 09:30:36 UTC 2024
On Tue, 1 Oct 2024 18:38:33 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Add missing StoreLoad fences in handshaking code to match safepoint code. Thanks to @pchilano for finding this bug.
>
> Tested with tier1-4 and tier8 which has Kitchensink in it.
It's not POSIX, but the C++17 spec says (6.8.2.1):
> [..] a call that acquires a mutex will perform an acquire operation on the locations comprising the mutex. Correspondingly, a call that releases the same mutex will perform a release operation on those same locations.
The C11 spec has exactly the same text.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21295#issuecomment-2388024799
More information about the hotspot-runtime-dev
mailing list