< prev index next >

src/share/vm/runtime/vmThread.cpp

Print this page

        

*** 38,47 **** --- 38,48 ---- #include "runtime/vm_operations.hpp" #include "services/runtimeService.hpp" #include "trace/tracing.hpp" #include "utilities/dtrace.hpp" #include "utilities/events.hpp" + #include "utilities/vmError.hpp" #include "utilities/xmlstream.hpp" // Dummy VM operation to act as first element in our circular double-linked list class VM_Dummy: public VM_Operation { VMOp_Type type() const { return VMOp_Dummy; }
*** 431,441 **** bool timedout = VMOperationQueue_lock->wait(Mutex::_no_safepoint_check_flag, GuaranteedSafepointInterval); // Support for self destruction ! if ((SelfDestructTimer != 0) && !is_error_reported() && (os::elapsedTime() > (double)SelfDestructTimer * 60.0)) { tty->print_cr("VM self-destructed"); exit(-1); } --- 432,442 ---- bool timedout = VMOperationQueue_lock->wait(Mutex::_no_safepoint_check_flag, GuaranteedSafepointInterval); // Support for self destruction ! if ((SelfDestructTimer != 0) && !VMError::is_error_reported() && (os::elapsedTime() > (double)SelfDestructTimer * 60.0)) { tty->print_cr("VM self-destructed"); exit(-1); }
< prev index next >