8237777: "Dumping core ..." is shown despite claiming that "# No core dump will be written."
Remove the unneeded and possibly misleading message. Reviewed-by: dholmes, ysuenaga
This commit is contained in:
parent
09287ab1ac
commit
1f31afd855
@ -1180,14 +1180,6 @@ void os::shutdown() {
|
||||
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
|
||||
}
|
||||
|
||||
|
@ -1070,14 +1070,6 @@ void os::shutdown() {
|
||||
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
|
||||
}
|
||||
|
||||
|
@ -1520,14 +1520,6 @@ void os::abort(bool dump_core, void* siginfo, const void* context) {
|
||||
if (DumpPrivateMappingsInCore) {
|
||||
ClassLoader::close_jrt_image();
|
||||
}
|
||||
#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
|
||||
}
|
||||
|
||||
|
@ -1147,14 +1147,6 @@ void os::shutdown() {
|
||||
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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user