< prev index next >
src/share/vm/runtime/safepoint.cpp
Print this page
*** 687,697 ****
Threads_lock->unlock();
break;
default:
! fatal(err_msg("Illegal threadstate encountered: %d", state));
}
// Check for pending. async. exceptions or suspends - except if the
// thread was blocked inside the VM. has_special_runtime_exit_condition()
// is called last since it grabs a lock and we only want to do that when
--- 687,697 ----
Threads_lock->unlock();
break;
default:
! fatal("Illegal threadstate encountered: %d", state);
}
// Check for pending. async. exceptions or suspends - except if the
// thread was blocked inside the VM. has_special_runtime_exit_condition()
// is called last since it grabs a lock and we only want to do that when
*** 771,786 ****
}
// To debug the long safepoint, specify both DieOnSafepointTimeout &
// ShowMessageBoxOnError.
if (DieOnSafepointTimeout) {
- char msg[1024];
VM_Operation *op = VMThread::vm_operation();
! sprintf(msg, "Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.",
SafepointTimeoutDelay,
op != NULL ? op->name() : "no vm operation");
- fatal(msg);
}
}
// -------------------------------------------------------------------------------------------------------
--- 771,784 ----
}
// To debug the long safepoint, specify both DieOnSafepointTimeout &
// ShowMessageBoxOnError.
if (DieOnSafepointTimeout) {
VM_Operation *op = VMThread::vm_operation();
! fatal("Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.",
SafepointTimeoutDelay,
op != NULL ? op->name() : "no vm operation");
}
}
// -------------------------------------------------------------------------------------------------------
< prev index next >