mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8241158: SA TestHeapDumpForInvokeDynamic.java fails when CDS archive is relocated
Reviewed-by: ccheung
This commit is contained in:
parent
7b8c373494
commit
0bc7cc4d28
5 changed files with 70 additions and 14 deletions
|
@ -222,6 +222,7 @@ private:
|
|||
static bool should_be_excluded(InstanceKlass* k);
|
||||
|
||||
DEBUG_ONLY(static bool _no_class_loading_should_happen;)
|
||||
|
||||
public:
|
||||
static InstanceKlass* find_builtin_class(Symbol* class_name);
|
||||
|
||||
|
@ -326,6 +327,13 @@ public:
|
|||
address p = address(ptr) - SharedBaseAddress;
|
||||
return primitive_hash<address>(p);
|
||||
}
|
||||
|
||||
#if INCLUDE_CDS_JAVA_HEAP
|
||||
private:
|
||||
static void update_archived_mirror_native_pointers_for(RunTimeSharedDictionary* dict);
|
||||
public:
|
||||
static void update_archived_mirror_native_pointers() NOT_CDS_RETURN;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // SHARE_CLASSFILE_SYSTEMDICTIONARYSHARED_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue