src/hotspot/share/memory/metaspaceShared.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/hotspot/share/memory/metaspaceShared.cpp Thu Oct 25 09:53:07 2018
--- new/src/hotspot/share/memory/metaspaceShared.cpp Thu Oct 25 09:53:07 2018
*** 1644,1659 ****
--- 1644,1658 ----
check_closure.reset();
ClassLoaderDataGraph::unlocked_loaded_classes_do(&check_closure);
} while (check_closure.made_progress());
if (IgnoreUnverifiableClassesDuringDump) {
// This is useful when running JCK or SQE tests. You should not
! // enable this when running real apps.
+ // IgnoreUnverifiableClassesDuringDump is enabled by default.
! // Unverifiable classes will not be included in the CDS archive.
SystemDictionary::remove_classes_in_error_state();
} else {
! tty->print_cr("Please remove the unverifiable classes from your class list and try again");
exit(1);
! vm_exit_during_cds_dumping("Please remove the unverifiable classes from your class list and try again");
}
}
}
void MetaspaceShared::prepare_for_dumping() {
src/hotspot/share/memory/metaspaceShared.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File