< prev index next >

src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp

Print this page
rev 50637 : [mq]: JDK-8205336.patch
rev 50638 : [mq]: JDK-8205336-01.patch

@@ -719,11 +719,11 @@
 #endif // ASSERT
 
           // 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);
           __ ldp(r19, zr, Address(__ post(sp, 2 * wordSize)));
           __ ret(lr);

@@ -819,11 +819,11 @@
                   exact_log2(Klass::_lh_header_size_mask + 1));
           __ add(arr_size, arr_size, t1);
           __ 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)));
           assert(Klass::_lh_header_size_shift % BitsPerByte == 0, "bytewise");
           assert(Klass::_lh_header_size_mask <= 0xFF, "bytewise");
< prev index next >