hotspot/src/share/vm/runtime/vmThread.cpp
changeset 33222 e0a340f4ab6e
parent 33148 68fa8b6c4340
child 34633 2a6c7c7b30a7
--- a/hotspot/src/share/vm/runtime/vmThread.cpp	Thu Oct 15 17:35:42 2015 +0200
+++ b/hotspot/src/share/vm/runtime/vmThread.cpp	Thu Oct 15 13:34:21 2015 -0500
@@ -419,7 +419,7 @@
 
         // Support for self destruction
         if ((SelfDestructTimer != 0) && !is_error_reported() &&
-            (os::elapsedTime() > SelfDestructTimer * 60)) {
+            (os::elapsedTime() > (double)SelfDestructTimer * 60.0)) {
           tty->print_cr("VM self-destructed");
           exit(-1);
         }