< prev index next >
src/hotspot/os/solaris/os_solaris.cpp
Print this page
@@ -1145,18 +1145,10 @@
// called from signal handler. Before adding something to os::abort(), make
// sure it is async-safe and can handle partially initialized VM.
void os::abort(bool dump_core, void* siginfo, const void* context) {
os::shutdown();
if (dump_core) {
-#ifndef PRODUCT
- fdStream out(defaultStream::output_fd());
- out.print_raw("Current thread is ");
- char buf[16];
- jio_snprintf(buf, sizeof(buf), UINTX_FORMAT, os::current_thread_id());
- out.print_raw_cr(buf);
- out.print_raw_cr("Dumping core ...");
-#endif
::abort(); // dump core (for debugging)
}
::exit(1);
}
< prev index next >