Lines Matching refs:Thread
83 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in Monitor()
105 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, in Monitor()
137 bool Monitor::Install(Thread* self) { in Install()
185 void Monitor::AppendToWaitSet(Thread* thread) { in AppendToWaitSet()
186 DCHECK(owner_ == Thread::Current()); in AppendToWaitSet()
195 Thread* t = wait_set_; in AppendToWaitSet()
206 void Monitor::RemoveFromWaitSet(Thread *thread) { in RemoveFromWaitSet()
207 DCHECK(owner_ == Thread::Current()); in RemoveFromWaitSet()
218 Thread* t = wait_set_; in RemoveFromWaitSet()
233 void Monitor::Lock(Thread* self) { in Lock()
301 Thread* self = Thread::Current(); in ThrowIllegalMonitorStateExceptionF()
313 static std::string ThreadToString(Thread* thread) { in ThreadToString()
323 void Monitor::FailedUnlock(mirror::Object* o, Thread* expected_owner, Thread* found_owner, in FailedUnlock()
325 Thread* current_owner = NULL; in FailedUnlock()
332 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in FailedUnlock()
382 bool Monitor::Unlock(Thread* self) { in Unlock()
385 Thread* owner = owner_; in Unlock()
430 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait()
571 void Monitor::Notify(Thread* self) { in Notify()
581 Thread* thread = wait_set_; in Notify()
594 void Monitor::NotifyAll(Thread* self) { in NotifyAll()
604 Thread* thread = wait_set_; in NotifyAll()
611 bool Monitor::Deflate(Thread* self, mirror::Object* obj) { in Deflate()
624 Thread* owner = monitor->owner_; in Deflate()
653 void Monitor::Inflate(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) { in Inflate()
674 void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word, in InflateThinLocked()
686 Thread* owner; in InflateThinLocked()
719 mirror::Object* Monitor::MonitorEnter(Thread* self, mirror::Object* obj) { in MonitorEnter()
785 bool Monitor::MonitorExit(Thread* self, mirror::Object* obj) { in MonitorExit()
803 Thread* owner = in MonitorExit()
833 void Monitor::Wait(Thread* self, mirror::Object *obj, int64_t ms, int32_t ns, in Wait()
870 void Monitor::DoNotify(Thread* self, mirror::Object* obj, bool notify_all) { in DoNotify()
928 void Monitor::DescribeWait(std::ostream& os, const Thread* thread) { in DescribeWait()
936 Thread* self = Thread::Current(); in DescribeWait()
955 Locks::mutator_lock_->IsExclusiveHeld(Thread::Current())) { in DescribeWait()
975 mirror::Object* Monitor::GetContendedMonitor(Thread* thread) { in GetContendedMonitor()
981 MutexLock mu(Thread::Current(), *thread->GetWaitMutex()); in GetContendedMonitor()
1066 MutexLock mu(Thread::Current(), list->monitor_list_lock_); in IsValidLockWord()
1083 MutexLock mu(Thread::Current(), monitor_lock_); in IsLocked()
1103 MutexLock mu(Thread::Current(), monitor_lock_); in GetOwnerThreadId()
1104 Thread* owner = owner_; in GetOwnerThreadId()
1118 Thread* self = Thread::Current(); in ~MonitorList()
1127 MutexLock mu(Thread::Current(), monitor_list_lock_); in DisallowNewMonitors()
1132 Thread* self = Thread::Current(); in AllowNewMonitors()
1139 Thread* self = Thread::Current(); in Add()
1148 Thread* self = Thread::Current(); in SweepMonitorList()
1169 MonitorDeflateArgs() : self(Thread::Current()), deflate_count(0) {} in MonitorDeflateArgs()
1170 Thread* const self;
1212 for (Thread* waiter = mon->wait_set_; waiter != NULL; waiter = waiter->GetWaitNext()) { in MonitorInfo()