mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8213000: Obsolete the IgnoreUnverifiableClassesDuringDump vm option
Remove code referencing the IgnoreUnverifiableClassesDuringDump Reviewed-by: dholmes, jiangli
This commit is contained in:
parent
b627cee532
commit
fc19077b52
5 changed files with 14 additions and 24 deletions
|
@ -1645,13 +1645,8 @@ void MetaspaceShared::link_and_cleanup_shared_classes(TRAPS) {
|
|||
ClassLoaderDataGraph::unlocked_loaded_classes_do(&check_closure);
|
||||
} while (check_closure.made_progress());
|
||||
|
||||
if (IgnoreUnverifiableClassesDuringDump) {
|
||||
// IgnoreUnverifiableClassesDuringDump is enabled by default.
|
||||
// Unverifiable classes will not be included in the CDS archive.
|
||||
SystemDictionary::remove_classes_in_error_state();
|
||||
} else {
|
||||
vm_exit_during_cds_dumping("Please remove the unverifiable classes from your class list and try again");
|
||||
}
|
||||
// Unverifiable classes will not be included in the CDS archive.
|
||||
SystemDictionary::remove_classes_in_error_state();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue