mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +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
|
@ -520,7 +520,7 @@ void G1UnsafeGetObjSATBBarrierStub::emit_code(LIR_Assembler* ce) {
|
|||
__ load_klass(tmp_reg, src_reg);
|
||||
|
||||
Address ref_type_adr(tmp_reg, instanceKlass::reference_type_offset());
|
||||
__ cmpl(ref_type_adr, REF_NONE);
|
||||
__ cmpb(ref_type_adr, REF_NONE);
|
||||
__ jcc(Assembler::equal, _continuation);
|
||||
|
||||
// Is marking active?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue