< prev index next >

src/hotspot/cpu/aarch64/templateTable_aarch64.cpp

Print this page
*** 3551,11 ***
        __ cbnz(r3, loop);
      }
  
      // initialize object header only.
      __ bind(initialize_header);
!     __ mov(rscratch1, (intptr_t)markWord::prototype().value());
      __ str(rscratch1, Address(r0, oopDesc::mark_offset_in_bytes()));
      __ store_klass_gap(r0, zr);  // zero klass gap for compressed oops
      __ store_klass(r0, r4);      // store klass last
  
      {
--- 3551,11 ---
        __ cbnz(r3, loop);
      }
  
      // initialize object header only.
      __ bind(initialize_header);
!     __ ldr(rscratch1, Address(r4, Klass::prototype_header_offset()));
      __ str(rscratch1, Address(r0, oopDesc::mark_offset_in_bytes()));
      __ store_klass_gap(r0, zr);  // zero klass gap for compressed oops
      __ store_klass(r0, r4);      // store klass last
  
      {
< prev index next >