RFR: 8173472: AArch64: C1 comparisons with null only use 32-bit instructions

Roland Westrelin rwestrel at redhat.com
Fri Jan 27 17:23:46 UTC 2017


> (gdb) p _type2aelembytes[T_OBJECT]
> $10 = 4
> 
>   _type2aelembytes[T_OBJECT] = heapOopSize;
> 
> The use of type2aelembytes was a mistake.

Ah! I was looking at the other initialization:

int _type2aelembytes[T_CONFLICT+1] = {
T_OBJECT_aelem_bytes,      // T_OBJECT   = 12

#ifdef _LP64
  T_OBJECT_aelem_bytes      = 8,

Change looks good to me.

Roland.


More information about the hotspot-dev mailing list