Lines Matching refs:Thread

45 class Thread;  variable
72 static ObjPtr<mirror::Object> MonitorEnter(Thread* thread,
81 static bool MonitorExit(Thread* thread, ObjPtr<mirror::Object> obj)
87 static void Notify(Thread* self, ObjPtr<mirror::Object> obj) in Notify()
91 static void NotifyAll(Thread* self, ObjPtr<mirror::Object> obj) in NotifyAll()
98 static void Wait(Thread* self,
105 static ThreadState FetchState(const Thread* thread,
112 static ObjPtr<mirror::Object> GetContendedMonitor(Thread* thread)
132 Thread* GetOwner() const NO_THREAD_SAFETY_ANALYSIS { in GetOwner()
149 static void InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word,
155 static bool Deflate(Thread* self, ObjPtr<mirror::Object> obj)
173 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
175 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code, MonitorId id)
180 bool Install(Thread* self)
186 void AppendToWaitSet(Thread* thread) REQUIRES(monitor_lock_);
190 void RemoveFromWaitSet(Thread* thread) REQUIRES(monitor_lock_);
192 void SignalContendersAndReleaseMonitorLock(Thread* self) RELEASE(monitor_lock_);
198 static void Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
202 void LogContentionEvent(Thread* self,
218 bool TryLock(Thread* self)
222 bool TryLockLocked(Thread* self)
227 void Lock(Thread* self)
231 bool Unlock(Thread* thread)
235 static void DoNotify(Thread* self, ObjPtr<mirror::Object> obj, bool notify_all)
238 void Notify(Thread* self)
242 void NotifyAll(Thread* self)
272 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
285 ALWAYS_INLINE static void AtraceMonitorLock(Thread* self,
289 static void AtraceMonitorLockImpl(Thread* self,
306 Thread* volatile owner_ GUARDED_BY(monitor_lock_);
317 Thread* wait_set_ GUARDED_BY(monitor_lock_);
320 Thread* wake_set_ GUARDED_BY(monitor_lock_);
388 Thread* owner_;
390 std::vector<Thread*> waiters_;