[aarch64-port-dev ] RFR: 8144993: Elide redundant memory barrier after AllocationNode
Andrew Haley
aph at redhat.com
Tue Dec 15 14:57:59 UTC 2015
On 12/15/2015 02:54 PM, Lindenmaier, Goetz wrote:
> I.e., an object passed to a callee that is a pure function
> can not be scalar replaced, as you have to keep the object
> layout to pass it down.
> But the callee does not publish the reference to any other
> thread, so we don't need to execute locks. Also, we
> can remove barriers.
So the answer is obvious, surely? We can elide the locks only if
NoEscape.
Andrew.
More information about the aarch64-port-dev
mailing list