< prev index next >

src/hotspot/cpu/s390/c1_LIRAssembler_s390.cpp

Print this page
@@ -2383,11 +2383,11 @@
    } else {
      __ allocate_array(op->obj()->as_register(),
                        op->len()->as_register(),
                        op->tmp1()->as_register(),
                        op->tmp2()->as_register(),
-                       arrayOopDesc::header_size(op->type()),
+                       arrayOopDesc::base_offset_in_bytes(op->type()),
                        type2aelembytes(op->type()),
                        op->klass()->as_register(),
                        *op->stub()->entry());
    }
    __ bind(*op->stub()->continuation());
< prev index next >