/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/resources/ |
H A D | conc.js | 50 * Wrapper for java.lang.Object.wait 54 function wait(object) { function 56 var waitMethod = objClazz.getMethod('wait', null); 59 wait.docString = "convenient wrapper for java.lang.Object.wait method";
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Object.java | 245 * monitor by calling one of the {@code wait} methods. 270 * @see java.lang.Object#wait() 277 * {@code wait} methods. 294 * @see java.lang.Object#wait() 299 * Causes the current thread to wait until either another thread invokes the 307 * place itself in the wait set for this object and then to relinquish 323 * The thread <var>T</var> is then removed from the wait set for this 328 * ante - that is, to the situation as of the time that the {@code wait} 330 * invocation of the {@code wait} method. Thus, on return from the 331 * {@code wait} metho 383 public final native void wait(long timeout) throws InterruptedException; method in class:Object 447 public final void wait(long timeout, int nanos) throws InterruptedException { method in class:Object 502 public final void wait() throws InterruptedException { method in class:Object [all...] |
/openjdk7/langtools/test/tools/javac/ |
H A D | Object1.java | 42 public final native void wait(long timeout) throws InterruptedException; method in class:Object 43 public native final void wait(long timeout, int nanos) throws InterruptedException; method in class:Object 44 public native final void wait() throws InterruptedException; method in class:Object
|
H A D | Object2.java | 42 public final native void wait(long timeout) throws InterruptedException; method in class:Object 43 public native final void wait(long timeout, int nanos) throws InterruptedException; method in class:Object 44 public native final void wait() throws InterruptedException; method in class:Object
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | synchronizer.hpp | 71 static void wait (Handle obj, jlong millis, TRAPS); 76 // that needs to wait() on a java-level object but that can't risk 81 // wait on an internal lock, and reclaim original lock 157 void wait (TRAPS) { ObjectSynchronizer::wait (_obj, 0, CHECK); } // wait forever function in class:ObjectLocker
|
H A D | mutexLocker.hpp | 231 // 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);
|
H A D | mutex.hpp | 182 // Defaults are to make safepoint checks, wait time is forever (i.e., 183 // zero), and not a suspend-equivalent condition. Returns true if wait 185 bool wait(bool no_safepoint_check = !_no_safepoint_check_flag, 243 // logic for wait(), notify(), etc. Mutex extends monitor and restricts the 244 // visiblity of wait(), notify(), and notify_all(). 247 // implement all the normal mutex and wait()-notify() logic in Mutex base class. 248 // The wait()-notify() facility would be exposed via special protected member functions 249 // (e.g., _Wait() and _Notify()) in Mutex. Monitor would extend Mutex and expose wait() 250 // as a call to _Wait(). That is, the public wait() would be a wrapper for the protected 269 bool wait (boo function in class:Mutex [all...] |
H A D | mutex.cpp | 183 // 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...] |
H A D | synchronizer.cpp | 275 // complete_exit()/reenter() are used to wait on a nested lock 279 // 2) wait on lock2 378 // NOTE: must use heavy weight monitor to handle wait() 379 void ObjectSynchronizer::wait(Handle obj, jlong millis, TRAPS) { function in class:ObjectSynchronizer 385 TEVENT (wait - throw IAX) ; 390 monitor->wait(millis, true, THREAD); 404 TEVENT (wait - throw IAX) ; 407 ObjectSynchronizer::inflate(THREAD, obj()) -> wait(millis, false, THREAD) ; 488 // The caller of ReadStableMark() must wait for inflation to complete. 1208 // * INFLATING - busy wait fo [all...] |
H A D | objectMonitor.cpp | 275 // * Waiting threads reside on the WaitSet list -- wait() puts 725 // monitor reentry in wait(). 1171 // Lets say thread T1 calls O.wait(). Wait() enqueues T1 on O's waitset and 1346 // complete_exit/reenter operate as a wait without waiting 1376 // complete_exit/reenter operate as a wait without waiting 1425 // helper method for posting a monitor wait event 1441 // Note: a subset of changes to ObjectMonitor::wait() 1443 void ObjectMonitor::wait(jlong millis, bool interruptible, TRAPS) { function in class:ObjectMonitor 1460 // wait was not timed out due to thread interrupt. 1487 // _WaitSetLock protects the wait queu [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/runtime-additions/java/com/apple/jobjc/ |
H A D | Utils.java | 100 private static native void performRunnableOnMainThread(final Runnable runnable, final boolean wait); argument 109 public void performOnMainThread(final Runnable runnable, final boolean wait) { argument 110 performRunnableOnMainThread(runnable, wait);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/poa/ |
H A D | AOMEntry.java | 67 private final CondVar wait ; // accessed in actions field in class:AOMEntry 75 entry.wait.broadcast() ; 90 entry.wait.broadcast() ; 134 private static Guard waitGuard = new GuardBase( "wait" ) { 138 entry.wait.await() ; 218 wait = new CondVar( poa.poaMutex,
|
H A D | POAImpl.java | 141 // Also note that there are 3 separate conditions on which threads may wait 520 private boolean wait ; field in class:POAImpl.DestroyThread 531 public void doIt( POAImpl thePoa, boolean wait ) 536 " wait=" + wait + " etherealize=" + etherealize ) ; 540 this.wait = wait ; 542 if (wait) { 592 // is allowed to proceed with its own setting of the wait 597 // but not completed, and wait i [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | memSnapshot.hpp | 385 void wait(long timeout) { function in class:MemSnapshot 388 locker.wait(true, timeout);
|
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/resources/ |
H A D | jconsole.js | 391 * Wrapper for java.lang.Object.wait 395 function wait(object) { function 397 var waitMethod = objClazz.getMethod('wait', null); 400 wait.docString = "convenient wrapper for java.lang.Object.wait method";
|
/openjdk7/jdk/src/share/back/ |
H A D | eventHelper.c | 158 jboolean wait, jboolean reportingVMDeath) 165 command->waiting = wait; 174 /* send no more events after VMDeath and don't wait */ 175 wait = JNI_FALSE; 193 if (wait) { 196 log_debugee_location("enqueueCommand(): HelperCommand wait", NULL, NULL, 0); 354 /* clazz of evinfo was set to class of monitor object for monitor wait event class filtering. 637 * accomplished by forcing commandLoop() to wait for either 644 * We wait for either ThreadReferenceImpl.c: resume() or 957 jboolean wait; local 157 enqueueCommand(HelperCommand *command, jboolean wait, jboolean reportingVMDeath) argument [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | instanceKlass.cpp | 115 #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/hotspot/src/os/bsd/vm/ |
H A D | os_bsd.cpp | 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() { function in class:Semaphore 2795 static int check_pending_signals(bool wait) { argument 2804 if (!wait) { 3636 OSThreadWaitState osts(jt->osthread(), false /* not Object.wait() */); 3649 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */); [all...] |
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | os_linux.cpp | 107 # include <sys/wait.h> 880 // wait until os::start_thread() 882 sync->wait(Mutex::_no_safepoint_check_flag); 984 sync_with_child->wait(Mutex::_no_safepoint_check_flag); 2446 void wait(); 2466 void Semaphore::wait() { function in class:Semaphore 2546 static int check_pending_signals(bool wait) { argument 2555 if (!wait) { 3557 OSThreadWaitState osts(jt->osthread(), false /* not Object.wait() */); 3570 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */); [all...] |
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | os_solaris.cpp | 104 # include <sys/wait.h> 2614 void wait(); 2634 void Semaphore::wait() { function in class:Semaphore 3270 // so we'll just wait for a fix for 6204603/5003415 which 3695 OSThreadWaitState osts(jt->osthread(), false /* not Object.wait() */); 3713 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */); 3767 // The 1 millisecond wait doesn't seem long enough for the kernel to issue a 4350 // wait here until we are resumed 4401 // Handle interruptible wait() ... 4428 // intentional. The effect of this is that Object.wait() wil [all...] |