RFR: 8182997: [MVT] ValueTypeArray.java fails with "assert(false) failed: unexpected TypeAryPtr::_klass"

Tobias Hartmann tobias.hartmann at oracle.com
Thu Jul 6 09:24:25 UTC 2017


Hi Roland,

On 06.07.2017 10:59, Roland Westrelin wrote:
>> Could you elaborate on why it's not always possible to determine if
>> the unloaded class is a value type klass? Shouldn't we be able to
>> determine this from the name?
> 
> AFAICT, for instance, if the byte code is anewarray, the symbol that's
> referenced doesn't include Q and so if it's unloaded we can't tell if
> it's an instance or a value class.

Okay, that's unfortunate. I'm fine with the changes but maybe you could guard the symbol scanning code by ValueArrayFlatten or EnableValhalla/EnableMVT.

Thanks,
Tobias


More information about the valhalla-dev mailing list