hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp
changeset 11407 5399831730cd
parent 10972 ef164805934c
child 11439 7af64224c70b
--- a/hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp	Tue Nov 29 14:44:44 2011 -0500
+++ b/hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp	Tue Dec 06 18:28:51 2011 -0500
@@ -398,7 +398,7 @@
 
           if (id == fast_new_instance_init_check_id) {
             // make sure the klass is initialized
-            __ ld(G5_klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_t1);
+            __ ldub(G5_klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_t1);
             __ cmp_and_br_short(G3_t1, instanceKlass::fully_initialized, Assembler::notEqual, Assembler::pn, slow_path);
           }
 #ifdef ASSERT