More on memory barriers

Vitaly Davidovich vitalyd at gmail.com
Wed Sep 17 12:37:55 UTC 2014


That's unfortunate; naively seems odd that EA is tripped up by it.

Sent from my phone
On Sep 17, 2014 6:31 AM, "Andrew Haley" <aph at redhat.com> wrote:

> On 09/16/2014 08:40 AM, Andrew Haley wrote:
> > On 15/09/14 17:20, Vitaly Davidovich wrote:
> >> Looking at hg history, MemBarStoreStore was added a few years ago,
> whereas
> >> the code in question is much older.  The comments in the changelist
> adding
> >> MemBarStoreStore seem to indicate it was done to address a specific
> issue,
> >> and my guess is that it wasn't "retrofitted" into all possible places.
> >
> > That sounds plausible.  I'll change this to a StoreStore in the AArch64
> > port and do some testing.
>
> Bah, that doesn't work.  Escape analysis assumes that a StoreStore
> is only used in certain contexts.  Back to the drawing board.
>
> Andrew.
>
>


More information about the hotspot-dev mailing list