8215144: PPC64: Wrong assertion "illegal object size"
authormdoerr
Tue, 11 Dec 2018 10:15:28 +0100
changeset 52937 d2206a60da32
parent 52936 9745e4e36dd1
child 52938 5ff7480c9e28
8215144: PPC64: Wrong assertion "illegal object size" Reviewed-by: simonis
src/hotspot/cpu/ppc/macroAssembler_ppc.cpp
--- a/src/hotspot/cpu/ppc/macroAssembler_ppc.cpp	Tue Dec 11 09:10:24 2018 +0100
+++ b/src/hotspot/cpu/ppc/macroAssembler_ppc.cpp	Tue Dec 11 10:15:28 2018 +0100
@@ -2273,7 +2273,7 @@
 ) {
   // make sure arguments make sense
   assert_different_registers(obj, var_size_in_bytes, t1);
-  assert(0 <= con_size_in_bytes && is_simm13(con_size_in_bytes), "illegal object size");
+  assert(0 <= con_size_in_bytes && is_simm16(con_size_in_bytes), "illegal object size");
   assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0, "object size is not multiple of alignment");
 
   const Register new_top = t1;