hotspot/src/share/vm/runtime/vmThread.cpp
changeset 33222 e0a340f4ab6e
parent 33148 68fa8b6c4340
child 34633 2a6c7c7b30a7
equal deleted inserted replaced
33219:08f642d9214f 33222:e0a340f4ab6e
   417           VMOperationQueue_lock->wait(Mutex::_no_safepoint_check_flag,
   417           VMOperationQueue_lock->wait(Mutex::_no_safepoint_check_flag,
   418                                       GuaranteedSafepointInterval);
   418                                       GuaranteedSafepointInterval);
   419 
   419 
   420         // Support for self destruction
   420         // Support for self destruction
   421         if ((SelfDestructTimer != 0) && !is_error_reported() &&
   421         if ((SelfDestructTimer != 0) && !is_error_reported() &&
   422             (os::elapsedTime() > SelfDestructTimer * 60)) {
   422             (os::elapsedTime() > (double)SelfDestructTimer * 60.0)) {
   423           tty->print_cr("VM self-destructed");
   423           tty->print_cr("VM self-destructed");
   424           exit(-1);
   424           exit(-1);
   425         }
   425         }
   426 
   426 
   427         if (timedout && (SafepointALot ||
   427         if (timedout && (SafepointALot ||