RFR: 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
David Holmes
dholmes at openjdk.org
Thu Oct 3 00:53:37 UTC 2024
On Wed, 2 Oct 2024 22:44:31 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
> The problem is that the write to arm the poll is being moved inside the critical section and is reordered with the read of the thread state.
So that implies "all" we need is a `storeload` barrier after the write to arm the poll. That might be semantically clearer than adding a full fence - though probably adds some redundancy with the SMB.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21295#issuecomment-2390290506
More information about the hotspot-runtime-dev
mailing list