src/cpu/x86/vm/c1_Runtime1_x86.cpp

changeset 3368
52b5d32fbfaf
parent 3244
cec1757a0134
child 3400
22cee0ee8927
equal deleted inserted replaced
3367:da4dd142ea01 3368:52b5d32fbfaf
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

mercurial