7030300: more nightly failures after statics in Class changes

Reviewed-by: iveresov, jcoomes, dcubed
This commit is contained in:
Tom Rodriguez 2011-03-23 10:55:43 -07:00
parent fe899cc10d
commit 87c2f53c25
3 changed files with 4 additions and 4 deletions

View file

@ -301,7 +301,7 @@ void PatchingStub::emit_code(LIR_Assembler* ce) {
// thread.
assert(_obj != noreg, "must be a valid register");
assert(_oop_index >= 0, "must have oop index");
__ ld_ptr(_obj, java_lang_Class::klass_offset_in_bytes(), G3);
__ load_heap_oop(_obj, java_lang_Class::klass_offset_in_bytes(), G3);
__ ld_ptr(G3, instanceKlass::init_thread_offset_in_bytes() + sizeof(klassOopDesc), G3);
__ cmp(G2_thread, G3);
__ br(Assembler::notEqual, false, Assembler::pn, call_patch);