Lines Matching refs:Monitor
80 uint32_t Monitor::lock_profiling_threshold_ = 0;
81 uint32_t Monitor::stack_dump_lock_profiling_threshold_ = 0;
83 void Monitor::Init(uint32_t lock_profiling_threshold, in Init()
93 Monitor::Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) in Monitor() function in art::Monitor
118 Monitor::Monitor(Thread* self, in Monitor() function in art::Monitor
146 int32_t Monitor::GetHashCode() { in GetHashCode()
158 void Monitor::SetLockingMethod(Thread* owner) { in SetLockingMethod()
204 void Monitor::SetLockingMethodNoProxy(Thread *owner) { in SetLockingMethodNoProxy()
213 bool Monitor::Install(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in Install()
274 Monitor::~Monitor() { in ~Monitor()
278 void Monitor::AppendToWaitSet(Thread* thread) { in AppendToWaitSet()
296 void Monitor::RemoveFromWaitSet(Thread *thread) { in RemoveFromWaitSet()
324 void Monitor::SetObject(ObjPtr<mirror::Object> object) { in SetObject()
330 void Monitor::AtraceMonitorLock(Thread* self, ObjPtr<mirror::Object> obj, bool is_wait) { in AtraceMonitorLock()
336 void Monitor::AtraceMonitorLockImpl(Thread* self, ObjPtr<mirror::Object> obj, bool is_wait) { in AtraceMonitorLockImpl()
392 void Monitor::AtraceMonitorUnlock() { in AtraceMonitorUnlock()
398 std::string Monitor::PrettyContentionInfo(const std::string& owner_name, in PrettyContentionInfo()
419 bool Monitor::TryLock(Thread* self, bool spin) { in TryLock()
443 void Monitor::Lock(Thread* self) { in Lock()
643 template void Monitor::Lock<LockReason::kForLock>(Thread* self);
644 template void Monitor::Lock<LockReason::kForWait>(Thread* self);
674 void Monitor::FailedUnlock(ObjPtr<mirror::Object> o, in FailedUnlock()
677 Monitor* monitor) { in FailedUnlock()
741 bool Monitor::Unlock(Thread* self) { in Unlock()
776 void Monitor::SignalWaiterAndReleaseMonitorLock(Thread* self) { in SignalWaiterAndReleaseMonitorLock()
823 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait()
949 void Monitor::Notify(Thread* self) { in Notify()
965 void Monitor::NotifyAll(Thread* self) { in NotifyAll()
989 bool Monitor::Deflate(Thread* self, ObjPtr<mirror::Object> obj) { in Deflate()
995 Monitor* monitor = lw.FatLockMonitor(); in Deflate()
1029 void Monitor::Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) { in Inflate()
1033 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate()
1050 void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word, in InflateThinLocked()
1096 ObjPtr<mirror::Object> Monitor::MonitorEnter(Thread* self, in MonitorEnter()
1198 Monitor* mon = lock_word.FatLockMonitor(); in MonitorEnter()
1221 bool Monitor::MonitorExit(Thread* self, ObjPtr<mirror::Object> obj) { in MonitorExit()
1272 Monitor* mon = lock_word.FatLockMonitor(); in MonitorExit()
1283 void Monitor::Wait(Thread* self, in Wait()
1329 Monitor* mon = lock_word.FatLockMonitor(); in Wait()
1333 void Monitor::DoNotify(Thread* self, ObjPtr<mirror::Object> obj, bool notify_all) { in DoNotify()
1355 Monitor* mon = lock_word.FatLockMonitor(); in DoNotify()
1370 uint32_t Monitor::GetLockOwnerThreadId(ObjPtr<mirror::Object> obj) { in GetLockOwnerThreadId()
1381 Monitor* mon = lock_word.FatLockMonitor(); in GetLockOwnerThreadId()
1391 ThreadState Monitor::FetchState(const Thread* thread, in FetchState()
1409 Monitor* monitor = thread->GetWaitMonitor(); in FetchState()
1441 ObjPtr<mirror::Object> Monitor::GetContendedMonitor(Thread* thread) { in GetContendedMonitor()
1448 Monitor* monitor = thread->GetWaitMonitor(); in GetContendedMonitor()
1456 void Monitor::VisitLocks(StackVisitor* stack_visitor, in VisitLocks()
1538 bool Monitor::IsValidLockWord(LockWord lock_word) { in IsValidLockWord()
1548 Monitor* mon = lock_word.FatLockMonitor(); in IsValidLockWord()
1551 for (Monitor* list_mon : list->list_) { in IsValidLockWord()
1566 bool Monitor::IsLocked() REQUIRES_SHARED(Locks::mutator_lock_) { in IsLocked()
1570 void Monitor::TranslateLocation(ArtMethod* method, in TranslateLocation()
1587 uint32_t Monitor::GetOwnerThreadId() { in GetOwnerThreadId()
1632 void MonitorList::Add(Monitor* m) { in Add()
1651 Monitor* m = *it; in SweepMonitorList()
1680 if (Monitor::Deflate(self_, object)) { in IsMarked()
1717 Monitor* mon = lock_word.FatLockMonitor(); in MonitorInfo()