• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:Thread

47 class Thread;  variable
80 EXPORT static ObjPtr<mirror::Object> MonitorEnter(Thread* thread,
89 EXPORT static bool MonitorExit(Thread* thread, ObjPtr<mirror::Object> obj)
95 static void Notify(Thread* self, ObjPtr<mirror::Object> obj) in Notify()
99 static void NotifyAll(Thread* self, ObjPtr<mirror::Object> obj) in NotifyAll()
106 EXPORT static void Wait(Thread* self,
114 static ThreadState FetchState(const Thread* thread,
121 EXPORT static ObjPtr<mirror::Object> GetContendedMonitor(Thread* thread)
141 Thread* GetOwner() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetOwner()
162 static void InflateThinLocked(Thread* self,
171 EXPORT static bool Deflate(Thread* self, ObjPtr<mirror::Object> obj)
189 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
191 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code, MonitorId id)
196 bool Install(Thread* self)
202 void AppendToWaitSet(Thread* thread) REQUIRES(monitor_lock_);
206 void RemoveFromWaitSet(Thread* thread) REQUIRES(monitor_lock_);
211 void SignalWaiterAndReleaseMonitorLock(Thread* self) RELEASE(monitor_lock_);
217 static void Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
221 void LogContentionEvent(Thread* self,
237 bool TryLock(Thread* self, bool spin = false)
242 void Lock(Thread* self)
246 bool Unlock(Thread* thread)
250 static void DoNotify(Thread* self, ObjPtr<mirror::Object> obj, bool notify_all)
253 void Notify(Thread* self)
257 void NotifyAll(Thread* self)
287 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
303 void SetLockingMethod(Thread* owner) REQUIRES(monitor_lock_)
307 void SetLockingMethodNoProxy(Thread* owner) REQUIRES(monitor_lock_)
311 ALWAYS_INLINE static void AtraceMonitorLock(Thread* self,
315 static void AtraceMonitorLockImpl(Thread* self,
338 std::atomic<Thread*> owner_;
351 Thread* wait_set_ GUARDED_BY(monitor_lock_);
354 Thread* wake_set_ GUARDED_BY(monitor_lock_);
391 std::atomic<Thread*> lock_owner_; // *lock_owner_ may no longer exist!
397 std::atomic<Thread*> lock_owner_request_;
400 uintptr_t LockOwnerInfoChecksum(ArtMethod* m, uint32_t dex_pc, Thread* t);
403 void SetLockOwnerInfo(ArtMethod* method, uint32_t dex_pc, Thread* t)
407 void GetLockOwnerInfo(/*out*/ArtMethod** method, /*out*/uint32_t* dex_pc, Thread* t);
427 void CheckLockOwnerRequest(Thread* self)
489 Thread* owner_;
491 std::vector<Thread*> waiters_;