[15] RFR(S): 8241997: Scalar replacement of cloned array is broken after JDK-8238759

Tobias Hartmann tobias.hartmann at oracle.com
Mon Apr 6 07:31:25 UTC 2020


Hi Nils,

On 06.04.20 09:23, Nils Eliasson wrote:
> I think there will be more opportunities for cleaning up cloning optimizations. The array-clone
> should just be the special case of acopy where the full array is copied, and which can't fault on
> index or type check.

Yes, we should try to get rid of most of the remaining is_clonebasic special-casing.

> Your change fixes a performance issue I have seen, but didn't understood that I caused it :)

Okay, great! :)

Thanks,
Tobias


More information about the hotspot-compiler-dev mailing list