RFR (T) 8242898: Clean up InstanceKlass::_array_klasses

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Wed Apr 29 13:06:14 UTC 2020



On 4/29/20 8:44 AM, David Holmes wrote:
> Hi Coleen,
>
> On 29/04/2020 10:11 pm, coleen.phillimore at oracle.com wrote:
>> Summary: Use more specific ObjArrayKlass type.
>>
>> This avoids some casts.  Tested with tier1-3.
>>
>> open webrev at 
>> http://cr.openjdk.java.net/~coleenp/2020/8242898.01/webrev
>> bug link https://bugs.openjdk.java.net/browse/JDK-8242898
>
> This looks fine to me.
>
> I have to wonder why this was not defined this way all along?

It was likely klassOop and stayed that way until Ioi noticed.
Thanks,
Coleen
>
> Thanks,
> David
>
>> thanks,
>> Coleen



More information about the hotspot-runtime-dev mailing list