OpenJDK / jdk / jdk12
changeset 52937:d2206a60da32
8215144: PPC64: Wrong assertion "illegal object size"
Reviewed-by: simonis
author | mdoerr |
---|---|
date | Tue, 11 Dec 2018 10:15:28 +0100 |
parents | 9745e4e36dd1 |
children | 5ff7480c9e28 |
files | src/hotspot/cpu/ppc/macroAssembler_ppc.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;