Home
last modified time | relevance | path

Searched refs:Wait (Results 1 – 25 of 35) sorted by relevance

12

/art/test/132-daemon-locks-shutdown/src/
DMain.java28 Thread t = new Thread(new Wait(sync)); in main()
34 private static class Wait implements Runnable { class in Main
37 public Wait(Object obj) { in Wait() method in Main.Wait
/art/runtime/
Dmonitor_test.cc143 monitor_test_->barrier_->Wait(self); // Let the other thread know we're done. in Run()
152 Monitor::Wait(self, monitor_test_->object_.Get(), millis_, 0, true, in Run()
162 monitor_test_->complete_barrier_->Wait(self); // Wait for test completion. in Run()
189 monitor_test_->barrier_->Wait(self); // Wait for the other thread to set up the monitor. in Run()
197 Monitor::Wait(self, monitor_test_->object_.Get(), millis_, 0, true, in Run()
207 monitor_test_->complete_barrier_->Wait(self); // Wait for test completion. in Run()
227 monitor_test_->barrier_->Wait(self); // Wait for the other thread to set up the monitor. in Run()
242 Monitor::Wait(self, monitor_test_->object_.Get(), 10, 0, true, in Run()
251 monitor_test_->complete_barrier_->Wait(self); // Wait for test completion. in Run()
273 monitor_test_->watchdog_object_.Get()->Wait(self, 30 * 1000, 0); // Wait for 30s, or being in Run()
[all …]
Dbarrier_test.cc38 barrier_->Wait(self); in Run()
78 barrier.Wait(self); in TEST_F()
80 thread_pool.Wait(self, true, false); in TEST_F()
Dthread_pool_test.cc71 thread_pool.Wait(self, true, false); in TEST_F()
98 thread_pool.Wait(self, false, false); in TEST_F()
135 thread_pool.Wait(self, true, false); in TEST_F()
Dbarrier.cc36 void Barrier::Wait(Thread* self) { in Wait() function in art::Barrier
57 condition_.Wait(self); in Increment()
Dthread_pool.cc52 thread_pool_->creation_barier_.Wait(self); in Run()
98 creation_barier_.Wait(self); in ThreadPool()
154 task_queue_condition_.Wait(self); in GetTask()
180 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait() function in art::ThreadPool
192 completion_condition_.Wait(self); in Wait()
Dsignal_set.h46 int Wait() { in Wait() function
Dbarrier.h45 void Wait(Thread* self);
Dobject_lock.cc37 Monitor::Wait(self_, obj_.Get(), 0, 0, false, kWaiting); in WaitIgnoringInterrupts()
Dsignal_catcher.cc80 cond_.Wait(self); in SignalCatcher()
168 int signal_number = signals.Wait(); in WaitForSignal()
Dmonitor.h82 static void Wait(Thread* self, mirror::Object* obj, int64_t ms, int32_t ns,
224 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
Dthread_pool.h98 void Wait(Thread* self, bool do_work, bool may_hold_locks);
Dmonitor.cc265 monitor_contenders_.Wait(self); // Still contended so wait. in Lock()
409 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait() function in art::Monitor
485 self->GetWaitConditionVariable()->Wait(self); in Wait()
835 void Monitor::Wait(Thread* self, mirror::Object *obj, int64_t ms, int32_t ns, in Wait() function in art::Monitor
869 mon->Wait(self, ms, ns, interruptShouldThrow, why); in Wait()
Dthread-inl.h157 Thread::resume_cond_->Wait(this); in TransitionFromSuspendedToRunnable()
/art/runtime/gc/
Dtask_processor_test.cc84 thread_pool.Wait(self, true, false); in TEST_F()
98 thread_pool.Wait(self, true, false); in TEST_F()
143 thread_pool.Wait(self, true, false); in TEST_F()
Dtask_processor.cc51 cond_->Wait(self); // Empty queue, wait until we are signalled. in GetTask()
/art/runtime/native/
Djava_lang_Object.cc51 o->Wait(soa.Self()); in Object_wait()
57 o->Wait(soa.Self(), ms, ns); in Object_waitJI()
Djava_lang_Thread.cc166 Monitor::Wait(Thread::Current(), lock, ms, ns, true, kSleeping); in Thread_sleep()
/art/test/004-ThreadStress/src/
DMain.java175 private final static class Wait extends Operation { class in Main
178 public Wait(Object lock) { in Wait() method in Main.Wait
222 frequencyMap.put(new Wait(lock), 0.075); // 15/200 in createDefaultFrequencyMap()
231 frequencyMap.put(new Wait(lock), 0.2); in createLockFrequencyMap()
270 op = new Wait(lock); in updateFrequencyMap()
/art/runtime/jdwp/
Djdwp_main.cc278 state->thread_start_cond_.Wait(self); in Create()
295 state->attach_cond_.Wait(self); in Create()
355 shutdown_cond_.Wait(self); in ~JdwpState()
/art/runtime/gc/space/
Dlarge_object_space_test.cc161 thread_pool.Wait(self, true, false); in RaceTest()
/art/runtime/base/
Dmutex_test.cc127 state.cv.Wait(Thread::Current()); in RecursiveLockWaitTest()
Dmutex.h399 void Wait(Thread* self) NO_THREAD_SAFETY_ANALYSIS;
/art/runtime/mirror/
Dobject-inl.h111 inline void Object::Wait(Thread* self) { in Wait() function
112 Monitor::Wait(self, this, 0, 0, true, kWaiting); in Wait()
115 inline void Object::Wait(Thread* self, int64_t ms, int32_t ns) { in Wait() function
116 Monitor::Wait(self, this, ms, ns, true, kTimedWaiting); in Wait()
Dobject.h142 void Wait(Thread* self) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
143 …void Wait(Thread* self, int64_t timeout, int32_t nanos) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_…

12