comparison src/cpu/x86/vm/c1_CodeStubs_x86.cpp @ 2380:32f7097f9d8f

7030300: more nightly failures after statics in Class changes Reviewed-by: iveresov, jcoomes, dcubed
author never
date Wed, 23 Mar 2011 10:55:43 -0700
parents c7f3d0b4570f
children d86923d96dca e1162778c1c8
comparison
equal deleted inserted replaced
2379:b099aaf51bf8 2380:32f7097f9d8f
314 assert(_obj != noreg, "must be a valid register"); 314 assert(_obj != noreg, "must be a valid register");
315 Register tmp = rax; 315 Register tmp = rax;
316 Register tmp2 = rbx; 316 Register tmp2 = rbx;
317 __ push(tmp); 317 __ push(tmp);
318 __ push(tmp2); 318 __ push(tmp2);
319 __ movptr(tmp2, Address(_obj, java_lang_Class::klass_offset_in_bytes())); 319 __ load_heap_oop(tmp2, Address(_obj, java_lang_Class::klass_offset_in_bytes()));
320 __ get_thread(tmp); 320 __ get_thread(tmp);
321 __ cmpptr(tmp, Address(tmp2, instanceKlass::init_thread_offset_in_bytes() + sizeof(klassOopDesc))); 321 __ cmpptr(tmp, Address(tmp2, instanceKlass::init_thread_offset_in_bytes() + sizeof(klassOopDesc)));
322 __ pop(tmp2); 322 __ pop(tmp2);
323 __ pop(tmp); 323 __ pop(tmp);
324 __ jcc(Assembler::notEqual, call_patch); 324 __ jcc(Assembler::notEqual, call_patch);