--- old/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp 2018-06-19 15:43:41.399114926 -0400 +++ new/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp 2018-06-19 15:43:41.079139642 -0400 @@ -721,7 +721,7 @@ // get the instance size (size is postive so movl is fine for 64bit) __ ldrw(obj_size, Address(klass, Klass::layout_helper_offset())); - __ eden_allocate(rthread, obj, obj_size, 0, t1, slow_path); + __ eden_allocate(obj, obj_size, 0, t1, slow_path); __ initialize_object(obj, klass, obj_size, 0, t1, t2, /* is_tlab_allocated */ false); __ verify_oop(obj); @@ -821,7 +821,7 @@ __ add(arr_size, arr_size, MinObjAlignmentInBytesMask); // align up __ andr(arr_size, arr_size, ~MinObjAlignmentInBytesMask); - __ eden_allocate(rthread, obj, arr_size, 0, t1, slow_path); // preserves arr_size + __ eden_allocate(obj, arr_size, 0, t1, slow_path); // preserves arr_size __ initialize_header(obj, klass, length, t1, t2); __ ldrb(t1, Address(klass, in_bytes(Klass::layout_helper_offset()) + (Klass::_lh_header_size_shift / BitsPerByte)));