RFR: 8253611: AArch64: Concurrency problems in JavaFrameAnchor

Nick Gasson nick.gasson at arm.com
Fri Sep 25 09:34:05 UTC 2020


On 09/25/20 15:57 pm, Andrew Haley wrote:
> On 25/09/2020 08:07, Aleksey Shipilev wrote:
>>
>> There should be `OrderAccess::release()` where the comment
>> suggesting the ordering constraint actually is -- I believe that is
>> a copy-paste error from x86. Other platforms have `release` thre.
>
> OK, thanks.
>
> After all these years! It wasn't an oversight. I have asked before
> about where this actually matters, and no-one seemed to know and it
> didn't seem to matter, so I never changed it. Is it really true that
> there are threads racily accessing the JavaFrameAnchor? If so, I'd
> expect more problems than just this.

I see only the PPC port has an OrderAccess::release() here at the
moment. If it matters for these two platforms then ARM32 and Zero also
need the same fix?

--
Nick


More information about the hotspot-dev mailing list