7030300: more nightly failures after statics in Class changes
Reviewed-by: iveresov, jcoomes, dcubed
This commit is contained in:
parent
fe899cc10d
commit
87c2f53c25
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -746,7 +746,7 @@ public class HeapHprofBinWriter extends AbstractHeapGraphWriter {
|
||||
out.writeByte((byte)kind);
|
||||
if (ik != null) {
|
||||
// static field
|
||||
writeField(field, ik);
|
||||
writeField(field, ik.getJavaMirror());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -316,7 +316,7 @@ void PatchingStub::emit_code(LIR_Assembler* ce) {
|
||||
Register tmp2 = rbx;
|
||||
__ push(tmp);
|
||||
__ push(tmp2);
|
||||
__ movptr(tmp2, Address(_obj, java_lang_Class::klass_offset_in_bytes()));
|
||||
__ load_heap_oop(tmp2, Address(_obj, java_lang_Class::klass_offset_in_bytes()));
|
||||
__ get_thread(tmp);
|
||||
__ cmpptr(tmp, Address(tmp2, instanceKlass::init_thread_offset_in_bytes() + sizeof(klassOopDesc)));
|
||||
__ pop(tmp2);
|
||||
|
Loading…
Reference in New Issue
Block a user