src/cpu/sparc/vm/templateTable_sparc.cpp

changeset 3368
52b5d32fbfaf
parent 3092
baf763f388e6
child 3400
22cee0ee8927
     1.1 --- a/src/cpu/sparc/vm/templateTable_sparc.cpp	Tue Nov 29 14:44:44 2011 -0500
     1.2 +++ b/src/cpu/sparc/vm/templateTable_sparc.cpp	Tue Dec 06 18:28:51 2011 -0500
     1.3 @@ -3350,7 +3350,7 @@
     1.4    __ ld_ptr(Rscratch, Roffset, RinstanceKlass);
     1.5  
     1.6    // make sure klass is fully initialized:
     1.7 -  __ ld(RinstanceKlass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_scratch);
     1.8 +  __ ldub(RinstanceKlass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_scratch);
     1.9    __ cmp(G3_scratch, instanceKlass::fully_initialized);
    1.10    __ br(Assembler::notEqual, false, Assembler::pn, slow_case);
    1.11    __ delayed()->ld(RinstanceKlass, Klass::layout_helper_offset_in_bytes() + sizeof(oopDesc), Roffset);

mercurial