Searched refs:wait (Results 101 - 125 of 295) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/awt/EventDispatchThread/PreserveDispathThread/
H A DPreserveDispatchThread.java122 * of the test we wait for all the runnables to be processed
171 test3Lock.wait();
/openjdk7/jdk/test/java/awt/print/PaintSetEnabledDeadlock/
H A DPaintSetEnabledDeadlock.java136 sync.wait();
/openjdk7/jdk/test/java/lang/Thread/
H A DGenerifyStackTraces.java64 // At each iterator, wait until ThreadOne blocks
65 // to wait for thread dump.
115 go.wait();
H A DStackTraces.java64 // At each iterator, wait until ThreadOne blocks
65 // to wait for thread dump.
115 go.wait();
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DMonitorDeadlock.java67 wait(100);
88 // sleep a little while to wait until threads are blocked.
H A DSynchronizerDeadlock.java67 wait(100);
88 // sleep a little while to wait until threads are blocked.
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DRacyDeregister.java91 notifyLock.wait(5000);
/openjdk7/jdk/src/share/demo/applets/NervousText/
H A DNervousText.java139 wait();
/openjdk7/jdk/test/java/rmi/activation/Activatable/shutdownGracefully/
H A DShutdownGracefully.java179 waitThread.wait(SHUTDOWN_TIMEOUT);
/openjdk7/jdk/test/javax/management/monitor/
H A DCounterMonitorTest.java61 // time to wait for notification (in seconds)
219 wait(1000);
/openjdk7/jdk/test/javax/management/notification/
H A DBroadcasterSupportDeadlockTest.java76 /* Wait for Thread 1 to be doing Object.wait(). It's very
77 difficult to synchronize properly here so we wait for the
78 semaphore, then wait a little longer for the mbs.invoke to
79 run, then just in case that isn't enough, we wait for the
158 // Let the caller know that it can now wait for us to
161 lock.wait(); // block forever
H A DNotifExecutorTest.java98 lock.wait(1000);
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DEmptyDomainNotificationTest.java110 li.wait(toWait);
H A DServerNotifs.java107 waiting.wait(remainingTime);
/openjdk7/jdk/test/javax/swing/JInternalFrame/
H A DInternalFrameIsNotCollectedTest.java65 Thread.sleep(1000); // it's better to wait 1 sec now then 10 sec later
71 CustomInternalFrame.waiter.wait(waitTime);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DGC.java117 lock.wait(l - d);
H A DQueue.java69 * Dequeue the oldest object on the queue. Will wait indefinitely.
81 * @param timeOut the number of milliseconds to wait for something
92 wait(timeOut);
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/
H A DMultiplexInputStream.java137 lock.wait();
/openjdk7/jdk/src/share/classes/java/util/
H A DTimer.java62 * tasks using the <tt>Object.wait(long)</tt> method.
85 * @see Object#wait(long)
222 * clock underlying <tt>Object.wait(long)</tt> is accurate).
262 * clock underlying <tt>Object.wait(long)</tt> is accurate). As a
301 * clock underlying <tt>Object.wait(long)</tt> is accurate).
342 * clock underlying <tt>Object.wait(long)</tt> is accurate). As a
526 queue.wait();
551 if (!taskFired) // Task hasn't yet fired; wait
552 queue.wait(executionTime - currentTime);
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DconcurrentMarkThread.cpp90 // wait until started is set.
206 // place, it would wait for us to process the regions
310 Terminator_lock->wait();
331 CGC_lock->wait(Mutex::_no_safepoint_check_flag);
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/
H A DConnections.java124 * max size hasn't been reached. If max size has been reached, wait
128 * @param timeout if > 0, msec to wait until connection is available
153 wait(waittime); // Wait until one is released or removed
155 wait();
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDataPusher.java90 // wait that the thread has finished stopping
140 wait(100);
167 // wait for 5 seconds - maybe the clip is to be played again
173 wait(AUTO_CLOSE_TIME);
H A DEventDispatcher.java180 wait(waitTime);
182 wait();
310 // EventDispatcher.process() method would block in wait() and
358 // need to interrupt the infinite wait()
/openjdk7/hotspot/src/share/vm/runtime/
H A DmutexLocker.hpp231 // a possibly null Monitor, and allows wait/notify as well which are
254 bool wait(bool no_safepoint_check = !Mutex::_no_safepoint_check_flag, function in class:MonitorLockerEx
258 return _monitor->wait(no_safepoint_check, timeout, as_suspend_equivalent);
/openjdk7/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/
H A DTestDialogTypeAhead.java260 wait();
268 wait(timeout);

Completed in 115 milliseconds

1234567891011>>