hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp
changeset 11407 5399831730cd
parent 10972 ef164805934c
child 11439 7af64224c70b
--- a/hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Tue Nov 29 14:44:44 2011 -0500
+++ b/hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp	Tue Dec 06 18:28:51 2011 -0500
@@ -1011,7 +1011,7 @@
 
           if (id == fast_new_instance_init_check_id) {
             // make sure the klass is initialized
-            __ cmpl(Address(klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc)), instanceKlass::fully_initialized);
+            __ cmpb(Address(klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc)), instanceKlass::fully_initialized);
             __ jcc(Assembler::notEqual, slow_path);
           }