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:
Jiangli Zhou 2012-01-25 17:40:51 -05:00 committed by Jiangli Zhou
parent 63b889aba6
commit cd85c690df
5 changed files with 11 additions and 9 deletions

View file

@ -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?