Release store in C2 putfield

Vitaly Davidovich vitalyd at
Wed Sep 3 17:04:47 UTC 2014

Order of new mem allocated, ctor running with additional stores, and the
assignment to the reference.  Or is this point where allocation + ctor are
already ordered before?

Sent from my phone
On Sep 3, 2014 1:03 PM, "Andrew Haley" <aph at> wrote:

> On 09/03/2014 05:54 PM, Vitaly Davidovich wrote:
> > Also I thought the memord recorded in the node (also) prevents compiler
> > from reordering the stores.  So even if AArch64 cpu doesn't reorder, what
> > would prevent compiler reordering?
> What reordering do you wish to prevent?  The store can't happen
> before the object has been created.
> Andrew.

More information about the hotspot-dev mailing list