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

Andrew Haley aph at redhat.com
Fri Jan 27 16:02:13 UTC 2017


On 27/01/17 15:37, Roland Westrelin wrote:
> I must be missing something. What's wrong with:
> 
> if (type2aelembytes(opr1->type()) <= 4)
> 
> ?

When compressed OOPs are in use, the type in memory is four bytes,
but we're comparing in registers.

Andrew.



More information about the hotspot-dev mailing list