RFR: 8351997: AArch64: Interpreter volatile reference stores with G1 are not sequentially consistent
Erik Österlund
eosterlund at openjdk.org
Mon Jun 2 07:31:54 UTC 2025
On Fri, 30 May 2025 09:40:21 GMT, Andrew Haley <aph at openjdk.org> wrote:
> > > It would surely be better if this evil were expunged from JDK 21 as well, lest it also confuse a backporter.
> >
> >
> > Maybe a "here be dragons" warning would suffice.
>
> If you add the following comment above every call to `do_oop_store()` I'll approve this patch:
>
> `// Clobbers: r10, r11, r3`
Hmm yes that feels like a good compromise. I added the comment.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25483#issuecomment-2929209038
More information about the hotspot-dev
mailing list