8213000: Obsolete the IgnoreUnverifiableClassesDuringDump vm option

Remove code referencing the IgnoreUnverifiableClassesDuringDump

Reviewed-by: dholmes, jiangli
This commit is contained in:
Calvin Cheung 2018-10-31 14:00:51 -07:00
parent b627cee532
commit fc19077b52
5 changed files with 14 additions and 24 deletions

View file

@ -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();
}
}