Lines Matching refs:Thread
118 Monitor::Monitor(Thread* owner, mirror::Object* obj) in Monitor()
149 void Monitor::AppendToWaitSet(Thread* thread) { in AppendToWaitSet()
150 DCHECK(owner_ == Thread::Current()); in AppendToWaitSet()
159 Thread* t = wait_set_; in AppendToWaitSet()
170 void Monitor::RemoveFromWaitSet(Thread *thread) { in RemoveFromWaitSet()
171 DCHECK(owner_ == Thread::Current()); in RemoveFromWaitSet()
182 Thread* t = wait_set_; in RemoveFromWaitSet()
197 void Monitor::Lock(Thread* self) { in Lock()
257 Thread* self = Thread::Current(); in ThrowIllegalMonitorStateExceptionF()
269 static std::string ThreadToString(Thread* thread) { in ThreadToString()
279 void Monitor::FailedUnlock(mirror::Object* o, Thread* expected_owner, Thread* found_owner, in FailedUnlock()
281 Thread* current_owner = NULL; in FailedUnlock()
288 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in FailedUnlock()
338 bool Monitor::Unlock(Thread* self, bool for_wait) { in Unlock()
340 Thread* owner = owner_; in Unlock()
391 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait()
412 void Monitor::WaitWithLock(Thread* self, int64_t ms, int32_t ns, in WaitWithLock()
529 void Monitor::Notify(Thread* self) { in Notify()
540 void Monitor::NotifyWithLock(Thread* self) { in NotifyWithLock()
543 Thread* thread = wait_set_; in NotifyWithLock()
556 void Monitor::NotifyAll(Thread* self) { in NotifyAll()
570 Thread* thread = wait_set_; in NotifyAllWithLock()
581 void Monitor::Inflate(Thread* self, mirror::Object* obj) { in Inflate()
594 void Monitor::MonitorEnter(Thread* self, mirror::Object* obj) { in MonitorEnter()
697 bool Monitor::MonitorExit(Thread* self, mirror::Object* obj) { in MonitorExit()
759 void Monitor::Wait(Thread* self, mirror::Object *obj, int64_t ms, int32_t ns, in Wait()
783 void Monitor::Notify(Thread* self, mirror::Object *obj) { in Notify()
804 void Monitor::NotifyAll(Thread* self, mirror::Object *obj) { in NotifyAll()
829 Thread* owner = LW_MONITOR(raw_lock_word)->owner_; in GetThinLockId()
834 void Monitor::DescribeWait(std::ostream& os, const Thread* thread) { in DescribeWait()
846 Thread* self = Thread::Current(); in DescribeWait()
875 mirror::Object* Monitor::GetContendedMonitor(Thread* thread) { in GetContendedMonitor()
884 MutexLock mu(Thread::Current(), *thread->wait_mutex_); in GetContendedMonitor()
961 MutexLock mu(Thread::Current(), list->monitor_list_lock_); in IsValidLockWord()
998 MutexLock mu(Thread::Current(), monitor_list_lock_); in ~MonitorList()
1003 MutexLock mu(Thread::Current(), monitor_list_lock_); in DisallowNewMonitors()
1008 Thread* self = Thread::Current(); in AllowNewMonitors()
1015 Thread* self = Thread::Current(); in Add()
1024 MutexLock mu(Thread::Current(), monitor_list_lock_); in SweepMonitorList()
1051 for (Thread* waiter = monitor->wait_set_; waiter != NULL; waiter = waiter->wait_next_) { in MonitorInfo()