hotspot/src/share/vm/runtime/thread.cpp
changeset 31611 c1fcef5c1925
parent 31373 21f527ce09e0
child 31620 53be635ad49c
--- a/hotspot/src/share/vm/runtime/thread.cpp	Mon Jan 19 11:06:08 2015 +0100
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Fri Jun 26 08:29:29 2015 +0200
@@ -1291,7 +1291,7 @@
         if (!ShowMessageBoxOnError
             && (OnError == NULL || OnError[0] == '\0')
             && Arguments::abort_hook() == NULL) {
-          os::sleep(this, 2 * 60 * 1000, false);
+          os::sleep(this, ErrorLogTimeout * 60 * 1000, false);
           fdStream err(defaultStream::output_fd());
           err.print_raw_cr("# [ timer expired, abort... ]");
           // skip atexit/vm_exit/vm_abort hooks