mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS Co-authored-by: Ioi Lam <ioi.lam@oracle.com> Co-authored-by: Jiangli Zhou <jianglizhou@google.com> Reviewed-by: acorn, jiangli, mseledtsov
This commit is contained in:
parent
e6c52060dc
commit
72dc5721e0
120 changed files with 6325 additions and 862 deletions
|
@ -246,7 +246,7 @@ void Dictionary::all_entries_do(KlassClosure* closure) {
|
|||
|
||||
// Used to scan and relocate the classes during CDS archive dump.
|
||||
void Dictionary::classes_do(MetaspaceClosure* it) {
|
||||
assert(DumpSharedSpaces, "dump-time only");
|
||||
assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "dump-time only");
|
||||
for (int index = 0; index < table_size(); index++) {
|
||||
for (DictionaryEntry* probe = bucket(index);
|
||||
probe != NULL;
|
||||
|
@ -312,7 +312,6 @@ InstanceKlass* Dictionary::find(unsigned int hash, Symbol* name,
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
InstanceKlass* Dictionary::find_class(int index, unsigned int hash,
|
||||
Symbol* name) {
|
||||
assert_locked_or_safepoint(SystemDictionary_lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue