6975027: use of movptr to set length of array
Reviewed-by: kvn, iveresov
This commit is contained in:
parent
68ff9b2b00
commit
dc37d152e7
@ -7151,7 +7151,7 @@ void MacroAssembler::tlab_refill(Label& retry,
|
||||
subptr(t1, typeArrayOopDesc::header_size(T_INT));
|
||||
addptr(t1, (int32_t)ThreadLocalAllocBuffer::alignment_reserve());
|
||||
shlptr(t1, log2_intptr(HeapWordSize/sizeof(jint)));
|
||||
movptr(Address(top, arrayOopDesc::length_offset_in_bytes()), t1);
|
||||
movl(Address(top, arrayOopDesc::length_offset_in_bytes()), t1);
|
||||
// set klass to intArrayKlass
|
||||
// dubious reloc why not an oop reloc?
|
||||
movptr(t1, ExternalAddress((address) Universe::intArrayKlassObj_addr()));
|
||||
|
Loading…
Reference in New Issue
Block a user