RFR(M): 8076188 Optimize arraycopy out for non escaping destination
roland.westrelin at oracle.com
Wed Apr 29 09:30:08 UTC 2015
Thanks for the review, Vladimir.
> On Apr 28, 2015, at 4:42 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> Looks good.
> Best regards,
> Vladimir Ivanov
> On 4/21/15 4:02 PM, Roland Westrelin wrote:
>> This patch tries to eliminate ArrayCopyNodes (for instance clones, array clones, arraycopy and copyOf) when the destination of the copy doesn’t escape:
>> - during escape analysis, ArrayCopyNodes don’t cause the destination of the copy to be marked as escaping anymore
>> - a load to the destination of a copy may be replaced by a load from the source during IGVN
>> - during macro expansion, ArrayCopyNodes don’t stop allocation from being eliminated and can themselves be eliminated
More information about the hotspot-compiler-dev