hotspot/src/share/vm/runtime/thread.cpp
changeset 34231 adc744ac832a
parent 33813 4f376e851453
child 34285 0b07014c15e9
--- a/hotspot/src/share/vm/runtime/thread.cpp	Tue Nov 17 15:14:29 2015 -0800
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Wed Nov 18 10:46:02 2015 -0600
@@ -1299,7 +1299,7 @@
         if (!ShowMessageBoxOnError
             && (OnError == NULL || OnError[0] == '\0')
             && Arguments::abort_hook() == NULL) {
-          os::sleep(this, ErrorLogTimeout * 60 * 1000, false);
+          os::sleep(this, (jlong)ErrorLogTimeout * 1000, false); // in seconds
           fdStream err(defaultStream::output_fd());
           err.print_raw_cr("# [ timer expired, abort... ]");
           // skip atexit/vm_exit/vm_abort hooks