Searched refs:wait (Results 251 - 275 of 295) sorted by relevance

<<1112

/openjdk7/jdk/src/share/classes/sun/print/
H A DPrintJob2D.java972 /* We now wait for the app's thread to finish drawing on
1024 wait(1000);
1063 wait(2000);
/openjdk7/hotspot/src/share/vm/runtime/
H A Dthread.cpp496 // Helper class for tracing suspend wait debug bits.
499 // self-suspend which is not a wait failure. 0x00000200, 0x00020000 and
501 // count as wait failures either.
544 guarantee(!AssertOnSuspendWaitFailure, "external suspend wait failed");
614 // call), then the wait is done.
642 // We wait for the thread to transition to a more usable state.
651 // temporarily drops SR_lock while doing wait with safepoint check
654 SR_lock()->wait(!Thread::current()->is_Java_thread(), i * delay);
728 // wait with safepoint check (if we're a JavaThread - the WatcherThread
730 SR_lock()->wait(!Threa
[all...]
H A Djava.cpp442 // can run before_exit() and all other threads must wait.
452 // thread state for Safepoint. Here we use Monitor wait() and notify_all()
461 BeforeExit_lock->wait();
541 // Note: we don't wait until it actually dies.
H A Dmutex.cpp183 // or wait for the inner lock.
189 // * Waiting threads reside on the WaitSet list -- wait() puts
744 // 3. wait for either notification or timeout
755 // But if a thread in wait() encounters a timeout it will need to dequeue itself
765 // owner of the outer lock would manipulate the WaitSet. A thread in wait()
768 // there would be no WaitLock. A thread in in wait() would enqueue its WaitEvent
769 // on the WaitSet; release the outer lock; wait for either notification or timeout;
779 Thread::muxAcquire (_WaitLock, "wait:WaitLock:Add") ;
792 // or cxq, but in the case of wait() it's possible.
793 // See synchronizer.cpp objectMonitor::wait()
1085 bool Monitor::wait(bool no_safepoint_check, long timeout, bool as_suspend_equivalent) { function in class:Monitor
[all...]
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.cpp643 bool timedout = lock()->wait(!Mutex::_no_safepoint_check_flag, NmethodSweepCheckInterval*1000);
651 lock()->wait();
1078 // all subsequent blocking requesters wait for completion of
1126 // Should this thread wait for completion of the compile?
1498 assert(task->is_blocking(), "can only wait on blocking task");
1509 task->lock()->wait();
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/
H A DUtil.java766 wait();
/openjdk7/jdk/src/share/classes/javax/swing/
H A DUIDefaults.java182 * thread then wait and then return the new value, otherwise drop
192 this.wait();
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletClassLoader.java655 // to the newly created ThreadGroup, and wait for the
670 creatorThread.syncObject.wait();
852 * a Thread belonging to the new AppContext's ThreadGroup. To wait for
853 * this operation to complete before continuing, wait for the notifyAll()
H A DAppletPanel.java311 wait();
/openjdk7/jdk/src/share/classes/java/net/
H A DInetAddress.java1353 // This thread should wait.
1356 lookupTable.wait();
/openjdk7/jdk/src/share/classes/java/util/prefs/
H A DAbstractPreferences.java1476 eventQueue.wait();
/openjdk7/hotspot/src/share/vm/classfile/
H A DsystemDictionary.cpp463 // The notify allows applications that did an untimed wait() on
474 SystemDictionary_lock->wait();
527 // parallelCapable class loaders do NOT wait for parallel superclass loads to complete
528 // Serial class loaders and bootstrap classloader do wait for superclass loads
563 // This logic has the current thread wait once it has done
570 SystemDictionary_lock->wait();
681 // completes the load and other requestors wait for completion.
706 // wait on first requestor
708 SystemDictionary_lock->wait();
710 // case 2: traditional with broken classloader lock. wait o
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DArrayNotificationBuffer.java101 dispose flag of the ArrayNotificationBuffer. The wait/notify
289 * @param timeout the maximum time to wait. May be 0 to indicate
290 * not to wait if there are no notifications.
292 * return. May be 0 to indicate a wait for eligible notifications
367 or wait for one to arrive if there is none. */
423 Otherwise wait for some to arrive, with
427 "no more notifs but have some so don't wait");
440 "dispose callled, no wait");
448 "wait(" + toWait + ")");
449 wait(toWai
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DExecutionManager.java706 inputLock.wait();
/openjdk7/hotspot/src/share/vm/services/
H A DmemTracker.cpp564 snapshot->wait(1000);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWToolkit.java244 wait();
319 * use these functions. startSecondaryEventLoop() corresponds to wait()
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DHttpServer.java854 cond.wait();
864 * Force N threads to rendezvous (ie. wait for each other) before proceeding.
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DDefaultSynthStyle.java415 stateData.wait();
/openjdk7/jdk/test/javax/management/remote/mandatory/loading/
H A DMissingClassTest.java482 // wait for the listeners to receive all their notifs
492 result.wait(remain);
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/
H A DPolyVertTest.java653 wait();
/openjdk7/jdk/test/sun/net/www/httptest/
H A DHttpServer.java649 cond.wait();
659 * Force N threads to rendezvous (ie. wait for each other) before proceeding.
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXEmbedServerTester.java439 xembedLog.fine("Requesting focus without wait");
545 EVENT_LOCK.wait(3000);
547 xembedLog.warning("Event wait interrupted", ie);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAbstractDocument.java48 * allows multiple readers or one writer, and writers must wait until
1344 wait();
1387 wait();
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunToolkit.java560 * given target. Does not wait for the execution to occur before
584 * given target. Does not wait for the execution to occur before
596 * Does not wait for the execution to occur before returning to
627 lock.wait();
1454 * or wait for some event. Example:
1486 * @param timeout the maximum time to wait in milliseconds, negative means "forever".
1498 // During the wait process, when we were processing incoming
1517 // Now wait while EDT processes them.
1543 * sync of the native queue. The method should wait until native
1600 waitLock.wait();
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DRealTimeSequencer.java1310 lock.wait(2000);
1315 // don't wait for more than 2 seconds
1340 // wake up the thread if it's in wait()
1345 // wait for the thread to terminate itself,
1403 lock.wait();

Completed in 481 milliseconds

<<1112