On Mon, 15 Jun 2026 23:48:35 GMT, Mat Carter <[email protected]> wrote:
> I don't think this fix is correct, the fact that we implement acquire loads > using `ldar` is purely accidental. If, in the future, we change it so that > acquire loads are lowered to `ldapr` instructions, then it breaks again. Exactly so, and we _will_ fix things so that acquire loads are lowered to `ldapr` instructions. Use `getVolatile()` here. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31465#issuecomment-4739754688
