Lines Matching refs:Thread
39 class Thread; variable
63 static mirror::Object* MonitorEnter(Thread* thread, mirror::Object* obj)
66 static bool MonitorExit(Thread* thread, mirror::Object* obj)
70 static void Notify(Thread* self, mirror::Object* obj) in Notify()
74 static void NotifyAll(Thread* self, mirror::Object* obj) in NotifyAll()
78 static void Wait(Thread* self, mirror::Object* obj, int64_t ms, int32_t ns,
82 static void DescribeWait(std::ostream& os, const Thread* thread)
87 static mirror::Object* GetContendedMonitor(Thread* thread)
107 Thread* GetOwner() const NO_THREAD_SAFETY_ANALYSIS { in GetOwner()
124 static void InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word,
127 static bool Deflate(Thread* self, mirror::Object* obj)
131 explicit Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code)
133 explicit Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code,
138 bool Install(Thread* self)
142 void AppendToWaitSet(Thread* thread) EXCLUSIVE_LOCKS_REQUIRED(monitor_lock_);
143 void RemoveFromWaitSet(Thread* thread) EXCLUSIVE_LOCKS_REQUIRED(monitor_lock_);
151 static void Inflate(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code)
154 void LogContentionEvent(Thread* self, uint32_t wait_ms, uint32_t sample_percent,
158 …static void FailedUnlock(mirror::Object* obj, Thread* expected_owner, Thread* found_owner, Monitor…
162 void Lock(Thread* self)
165 bool Unlock(Thread* thread)
169 static void DoNotify(Thread* self, mirror::Object* obj, bool notify_all)
172 void Notify(Thread* self)
176 void NotifyAll(Thread* self)
181 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
203 Thread* volatile owner_ GUARDED_BY(monitor_lock_);
214 Thread* wait_set_ GUARDED_BY(monitor_lock_);
278 Thread* owner_;
280 std::vector<Thread*> waiters_;