--- old/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp 2018-07-11 17:41:34.471685462 +0300 +++ new/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp 2018-07-11 17:41:34.227669837 +0300 @@ -709,7 +709,7 @@ { Label ok, not_ok; __ ldrw(obj_size, Address(klass, Klass::layout_helper_offset())); - __ cmp(obj_size, 0u); + __ cmp(obj_size, (u1)0); __ br(Assembler::LE, not_ok); // make sure it's an instance (LH > 0) __ tstw(obj_size, Klass::_lh_instance_slow_path_bit); __ br(Assembler::EQ, ok);