[aarch64-port-dev ] RFR: 8144993: Elide redundant memory barrier after AllocationNode
Vitaly Davidovich
vitalyd at gmail.com
Tue Dec 15 15:11:00 UTC 2015
Yes that was my fault; I had forgotten about the ArgEscape analysis result.
To answer your question somewhat, if an object is NoEscape then it's scalar
replaced in the end. I don't think there's any other end result in hotspot
(e.g there's no stack allocation).
On Tuesday, December 15, 2015, Andrew Haley <aph at redhat.com> wrote:
> On 12/15/2015 02:51 PM, Vitaly Davidovich wrote:
> > Hotspot implements only the scalar replacement form of EA.
>
> Scalar replacement is not a form of escape analysis. This does
> not answer my question, which was:
>
> > Are you saying that if escape analysis determined that an object does
> > not escape then you know *for sure* that it will always be scalar-
> > replaced?
>
> Andrew.
>
>
--
Sent from my phone
More information about the aarch64-port-dev
mailing list