Searched refs:wait (Results 176 - 200 of 295) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/util/ResourceBundle/
H A DBug4168625Test.java257 wait(30000); //wait 30 seconds max.
283 loader.waitForNotify(1); //wait for thread1 to do getBundle & block in loader
285 thread2.join(); //wait until thread2 terminates.
311 loader.waitForNotify(1); //wait for thread1 to do getBundle(en_US) & block in loader
314 loader.waitForNotify(2); //wait for thread1 to do getBundle(en) & block in loader
317 loader.waitForNotify(3); //wait for thread1 to do getBundle(en) & block in loader
320 thread1.join(); //wait until thread1 terminates
485 wait(time);
/openjdk7/jdk/src/solaris/classes/java/lang/
H A DUNIXProcess.java.solaris156 wait();
H A DUNIXProcess.java.bsd210 wait();
H A DUNIXProcess.java.linux210 wait();
/openjdk7/hotspot/src/share/vm/oops/
H A DinstanceKlass.cpp115 #define DTRACE_CLASSINIT_PROBE_WAIT(type, clss, thread_type, wait) \
125 data, len, (clss)->class_loader(), thread_type, wait); \
150 #define DTRACE_CLASSINIT_PROBE_WAIT(type, clss, thread_type, wait) \
160 data, len, (clss)->class_loader(), thread_type, wait); \
167 #define DTRACE_CLASSINIT_PROBE_WAIT(type, clss, thread_type, wait)
445 bool wait = false; local
454 // If we were to use wait() instead of waitInterruptibly() then
458 wait = true;
464 DTRACE_CLASSINIT_PROBE_WAIT(recursive, instanceKlass::cast(this_oop()), -1,wait);
470 DTRACE_CLASSINIT_PROBE_WAIT(concurrent, instanceKlass::cast(this_oop()), -1,wait);
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orb/
H A DORBImpl.java745 // wait for a response
749 this.svResponseReceived.wait();
1238 runObj.wait();
1244 boolean wait = false;
1260 wait = true;
1272 // If wait is true, another thread already called shutdown( true ),
1273 // and so we wait for completion
1274 if (wait) {
1282 shutdownObj.wait();
1284 // NOP: just loop and wait unti
[all...]
/openjdk7/hotspot/agent/test/jdi/
H A DTestScaffold.java290 // exit their wait loops.
334 if (System.getProperty("jpda.wait") != null) {
422 * for the particular event it is supposed to wait for (and it also
539 wait();
555 wait();
597 en.wait();
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodManager.java304 // If there are no multiple input methods to choose from, wait forever
308 wait();
362 lock.wait();
419 wait();
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DForkJoinTask.java153 * tasks cyclically wait for each other. However, this framework
214 * basic builtin wait/notify to take advantage of "monitor
250 * Uses Object.wait time argument conventions.
253 * @param millis if > 0, wait time.
264 wait(millis);
287 wait();
315 wait(millis);
327 * exec and records status if completed, but doesn't wait for
950 * @param timeout the maximum time to wait
958 * @throws TimeoutException if the wait time
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DConnection.java466 ldr.wait(readTimeout);
469 ldr.wait(15 * 1000); // 15 second timeout
779 private Object pauseLock = new Object(); // lock for reader to wait on while paused
811 pauseLock.wait(); // notified by unpauseReader
/openjdk7/hotspot/src/share/vm/runtime/
H A DvmThread.cpp265 // Notify_lock wait checks on active_handles() to rewait in
266 // case of spurious wakeup, it should wait on the last
313 // wait for threads (compiler threads or daemon threads) in the
321 // If that happens after _terminate_lock->wait() has unset _owner
338 // and wait until operation is performed.
356 _terminate_lock->wait(Mutex::_no_safepoint_check_flag);
447 // wait with a timeout to guarantee safepoints at regular intervals
449 VMOperationQueue_lock->wait(Mutex::_no_safepoint_check_flag,
533 // that simply means the op will wait for the next major cycle of the
648 VMOperationRequest_lock->wait(!
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DTestScaffold.java301 // exit their wait loops.
405 if (System.getProperty("jpda.wait") != null) {
504 * for the particular event it is supposed to wait for (and it also
673 wait();
689 wait();
731 en.wait();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/
H A DBsdDebuggerLocal.java138 workerThread.wait();
150 workerThread.wait();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/linux/
H A DLinuxDebuggerLocal.java136 workerThread.wait();
148 workerThread.wait();
/openjdk7/jdk/src/share/classes/sun/awt/
H A DAppContext.java372 // (we wait for this time twice,
454 notificationLock.wait(DISPOSAL_TIMEOUT);
471 notificationLock.wait(DISPOSAL_TIMEOUT);
/openjdk7/jdk/src/share/classes/java/lang/
H A DThread.java808 * interrupt the wait.
899 * Object#wait() wait()}, {@link Object#wait(long) wait(long)}, or {@link
900 * Object#wait(long, int) wait(long, int)} methods of the {@link Object}
1230 * die. A timeout of {@code 0} means to wait forever.
1232 * <p> This implementation uses a loop of {@code this.wait} calls
1235 * applications not use {@code wait}, {
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsSelectorImpl.java163 // Main thread is out of poll(). Wakeup others and wait for them
178 // Helper threads wait on this lock for the next poll.
191 // This function is called by a helper thread to wait for the
199 startLock.wait();
242 // The main thread invokes this function on finishLock to wait
251 finishLock.wait();
415 //make sure we wait for next round of poll
426 // wait for the start of poll. If this thread has become
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DBufferManagerReadStream.java117 fragmentQueue.wait(FRAGMENT_TIMEOUT);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/cosnaming/
H A DTransientNameServer.java209 synchronized (sync) {sync.wait();}
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/poa/
H A DPOAManagerImpl.java113 wait();
191 * There are 4 places where a thread would need to wait for a condition:
197 * and since wait() in Java has the nice property of releasing the lock
201 * for is satisfied, otherwise it goes back into a wait().
262 // Notify any threads that were waiting in the wait() inside
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DCorbaResponseWaitingRoomImpl.java162 call.done.wait();
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImageFetcher.java49 static final int TIMEOUT = 5000; // Time in milliseconds to wait for an
147 info.waitList.wait(end - now);
H A DToolkitImage.java234 wait();
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DvmCMSOperations.cpp293 // Now, wait for witnessing concurrent gc cycle to complete,
303 FullGCCount_lock->wait(Mutex::_no_safepoint_check_flag);
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DgcTaskManager.cpp625 // GC workers wait in get_task() for new work to be added
649 tty->print_cr(" => (%s)->wait()",
652 monitor()->wait(Mutex::_no_safepoint_check_flag, 0);
779 // as any tasks are running the GCTaskManager will wait for execution
876 " [" INTPTR_FORMAT "] (%s)->wait()",
879 manager->monitor()->wait(Mutex::_no_safepoint_check_flag, 0);
933 manager->monitor()->wait(Mutex::_no_safepoint_check_flag, 0);
1046 // First, wait for the barrier to arrive.
1082 " [" INTPTR_FORMAT "] (%s)->wait()",
1085 monitor()->wait(Mute
[all...]

Completed in 103 milliseconds

1234567891011>>