RFR(XXS): 8176505: Wrong assertion 'should be an array copy/clone' in arraycopynode.cpp

Roland Westrelin rwestrel at redhat.com
Fri Mar 10 14:05:00 UTC 2017


Hi Volker,

> Here are the gory details: the following assertion in
> arraycopynode.cpp is wrong because src_type can be a plain Object:
>
> const TypeAryPtr* ary_src = src_type->isa_aryptr();
> assert(ary_src != NULL, "should be an array copy/clone");

Shouldn't it be moved in the else branch where ary_src is used?

Roland.


More information about the hotspot-compiler-dev mailing list