hotspot/src/cpu/x86/vm/c1_Runtime1_x86.cpp
changeset 11407 5399831730cd
parent 10972 ef164805934c
child 11439 7af64224c70b
equal deleted inserted replaced
11406:3212e4d3ed0a 11407:5399831730cd
  1009           __ push(rdi);
  1009           __ push(rdi);
  1010           __ push(rbx);
  1010           __ push(rbx);
  1011 
  1011 
  1012           if (id == fast_new_instance_init_check_id) {
  1012           if (id == fast_new_instance_init_check_id) {
  1013             // make sure the klass is initialized
  1013             // make sure the klass is initialized
  1014             __ cmpl(Address(klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc)), instanceKlass::fully_initialized);
  1014             __ cmpb(Address(klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc)), instanceKlass::fully_initialized);
  1015             __ jcc(Assembler::notEqual, slow_path);
  1015             __ jcc(Assembler::notEqual, slow_path);
  1016           }
  1016           }
  1017 
  1017 
  1018 #ifdef ASSERT
  1018 #ifdef ASSERT
  1019           // assert object can be fast path allocated
  1019           // assert object can be fast path allocated