src/hotspot/share/runtime/java.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File open Cdiff src/hotspot/share/runtime/java.cpp

src/hotspot/share/runtime/java.cpp

Print this page

        

*** 607,616 **** --- 607,636 ---- os::abort(dump_core); ShouldNotReachHere(); } + void vm_notify_during_cds_dumping(const char* error, const char* message) { + if (error != NULL) { + tty->print_cr("Error occurred during CDS dumping"); + tty->print("%s", error); + if (message != NULL) { + tty->print_cr(": %s", message); + } + else { + tty->cr(); + } + } + } + + void vm_exit_during_cds_dumping(const char* error, const char* message) { + vm_notify_during_cds_dumping(error, message); + + // Failure during CDS dumping, we don't want to dump core + vm_abort(false); + } + void vm_notify_during_shutdown(const char* error, const char* message) { if (error != NULL) { tty->print_cr("Error occurred during initialization of VM"); tty->print("%s", error); if (message != NULL) {
src/hotspot/share/runtime/java.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File