mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
7132690: InstanceKlass:_reference_type should be u1 type
Change InstanceKlass::_reference_type to u1 type. Reviewed-by: dholmes, coleenp, acorn
This commit is contained in:
parent
63b889aba6
commit
cd85c690df
5 changed files with 11 additions and 9 deletions
|
@ -472,7 +472,7 @@ void G1UnsafeGetObjSATBBarrierStub::emit_code(LIR_Assembler* ce) {
|
|||
__ load_klass(src_reg, tmp_reg);
|
||||
|
||||
Address ref_type_adr(tmp_reg, instanceKlass::reference_type_offset());
|
||||
__ ld(ref_type_adr, tmp_reg);
|
||||
__ ldub(ref_type_adr, tmp_reg);
|
||||
|
||||
// _reference_type field is of type ReferenceType (enum)
|
||||
assert(REF_NONE == 0, "check this code");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue