From 532be450c9395f76a73133b74165365aa0f0be99 Mon Sep 17 00:00:00 2001 From: Andrew McDermott Date: Mon, 6 Oct 2014 10:05:05 +0100 Subject: Initial import --- ...ove-LOOPING-from-os-abort-in-debug-builds.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 0001-hotspot-remove-LOOPING-from-os-abort-in-debug-builds.patch diff --git a/0001-hotspot-remove-LOOPING-from-os-abort-in-debug-builds.patch b/0001-hotspot-remove-LOOPING-from-os-abort-in-debug-builds.patch new file mode 100644 index 0000000..0b70e18 --- /dev/null +++ b/0001-hotspot-remove-LOOPING-from-os-abort-in-debug-builds.patch @@ -0,0 +1,44 @@ +From 82156bca4740280b86e24c06063c814ecc0caed8 Mon Sep 17 00:00:00 2001 +From: Andrew McDermott +Date: Tue, 21 Jan 2014 21:07:22 +0000 +Subject: [PATCH] hotspot: remove LOOPING from os::abort in debug builds + +Signed-off-by: Andrew McDermott +--- + hotspot/src/os/linux/vm/os_linux.cpp | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/hotspot/src/os/linux/vm/os_linux.cpp b/hotspot/src/os/linux/vm/os_linux.cpp +index d17d177..2755ed4 100644 +--- a/hotspot/src/os/linux/vm/os_linux.cpp ++++ b/hotspot/src/os/linux/vm/os_linux.cpp +@@ -1558,16 +1558,16 @@ void os::shutdown() { + void os::abort(bool dump_core) { + 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 ..."); +- out.print_raw_cr("LOOPING..."); +- for (;;); +-#endif ++// #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 ..."); ++// out.print_raw_cr("LOOPING..."); ++// for (;;); ++// #endif + ::abort(); // dump core + } + +-- +1.7.9.5 + -- cgit v1.2.3