< prev index next >

src/hotspot/os/bsd/os_bsd.cpp

Print this page

        

*** 1054,1071 **** // 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 } ::exit(1); } --- 1054,1063 ----
< prev index next >