Lines Matching refs:wait

105 # include <sys/wait.h>
1051 // wait until os::start_thread()
1053 sync->wait(Mutex::_no_safepoint_check_flag);
1162 sync_with_child->wait(Mutex::_no_safepoint_check_flag);
2688 void wait();
2708 void Semaphore::wait() {
2795 static int check_pending_signals(bool wait) {
2804 if (!wait) {
3636 OSThreadWaitState osts(jt->osthread(), false /* not Object.wait() */);
3649 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */);
3930 // wait here until we are resumed
4032 // managed to send the signal and switch to SUSPEND_REQUEST, now wait for SUSPENDED
4043 sr_semaphore.wait();
5529 // hang). The JVM is vulernable via sleep(), Object.wait(timo), LockSupport.parkNanos()
5536 // 1. Establish a minimum relative wait time. 50 to 100 msecs seems to work.
5558 // Subsequent timedwait/wait calls may hang indefinitely. Given that, we
5634 // Treat this the same as if the wait was interrupted
5672 // Object.wait(timo) will return because of
5751 // cond_{timed}wait() but the spurious wakeup is benign and the victim will
5763 * Park decrements count if > 0, else does a condvar wait. Unpark
5766 * is unparking you, so don't wait. And spurious returns are fine, so there
5845 // Check interrupt before trying to wait
5852 if (time < 0 || (isAbsolute && time == 0) ) { // don't wait at all
5868 // Don't wait if cannot get lock since interference arises from
5869 // unblocking. Also. check interrupt before trying wait
5875 if (_counter > 0) { // no wait needed
5893 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */);