summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-10-06 10:05:05 +0100
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-10-06 10:05:05 +0100
commit532be450c9395f76a73133b74165365aa0f0be99 (patch)
tree6df3ccdf8c9a6382b84c81e820dc013a05cca060
Initial import
-rw-r--r--0001-hotspot-remove-LOOPING-from-os-abort-in-debug-builds.patch44
1 files changed, 44 insertions, 0 deletions
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 <andrew.mcdermott@linaro.org>
+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 <andrew.mcdermott@linaro.org>
+---
+ 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
+