mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
This commit is contained in:
parent
e5a92a9fb9
commit
3f096651f3
17 changed files with 101 additions and 77 deletions
|
@ -226,6 +226,10 @@ class java_lang_String : AllStatic {
|
|||
class java_lang_Class : AllStatic {
|
||||
friend class VMStructs;
|
||||
|
||||
enum {
|
||||
hc_resolvedReferences_offset = 12
|
||||
};
|
||||
|
||||
private:
|
||||
// The fake offsets are added by the class loader when java.lang.Class is loaded
|
||||
|
||||
|
@ -243,6 +247,7 @@ class java_lang_Class : AllStatic {
|
|||
|
||||
static bool offsets_computed;
|
||||
static int classRedefinedCount_offset;
|
||||
static int resolvedReferences_offset;
|
||||
|
||||
static GrowableArray<Klass*>* _fixup_mirror_list;
|
||||
|
||||
|
@ -301,6 +306,10 @@ class java_lang_Class : AllStatic {
|
|||
static int static_oop_field_count(oop java_class);
|
||||
static void set_static_oop_field_count(oop java_class, int size);
|
||||
|
||||
static objArrayOop resolved_references(oop java_class);
|
||||
static void set_resolved_references(oop java_class, objArrayOop a);
|
||||
static int resolved_references_offset_in_bytes() { return resolvedReferences_offset; }
|
||||
|
||||
static GrowableArray<Klass*>* fixup_mirror_list() {
|
||||
return _fixup_mirror_list;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue