RFR: 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64 [v2]
Robbin Ehn
rehn at openjdk.org
Thu Oct 3 21:01:38 UTC 2024
On Thu, 3 Oct 2024 20:43:52 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > As that would be for the MutexLocker which is now "missing" it. (not sure if it's problem or not)
>
> @robehn can you elaborate please on exactly what this fence is keeping separate and which is the code path that might see the reordered operations.
What I wrote here: https://github.com/openjdk/jdk/pull/21295#issuecomment-2390081948 (I hope that explains it)
As the handshake code is executed within a mutex lock it was assumed that set blocked state could not be reordered.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21295#issuecomment-2392324236
More information about the hotspot-runtime-dev
mailing list