Lines Matching refs:Monitor
79 uint32_t Monitor::lock_profiling_threshold_ = 0;
80 uint32_t Monitor::stack_dump_lock_profiling_threshold_ = 0;
82 void Monitor::Init(uint32_t lock_profiling_threshold, in Init()
92 Monitor::Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) in Monitor() function in art::Monitor
115 Monitor::Monitor(Thread* self, in Monitor() function in art::Monitor
141 int32_t Monitor::GetHashCode() { in GetHashCode()
153 bool Monitor::Install(Thread* self) { in Install()
229 Monitor::~Monitor() { in ~Monitor()
233 void Monitor::AppendToWaitSet(Thread* thread) { in AppendToWaitSet()
251 void Monitor::RemoveFromWaitSet(Thread *thread) { in RemoveFromWaitSet()
279 void Monitor::SetObject(ObjPtr<mirror::Object> object) { in SetObject()
285 void Monitor::AtraceMonitorLock(Thread* self, ObjPtr<mirror::Object> obj, bool is_wait) { in AtraceMonitorLock()
291 void Monitor::AtraceMonitorLockImpl(Thread* self, ObjPtr<mirror::Object> obj, bool is_wait) { in AtraceMonitorLockImpl()
347 void Monitor::AtraceMonitorUnlock() { in AtraceMonitorUnlock()
353 std::string Monitor::PrettyContentionInfo(const std::string& owner_name, in PrettyContentionInfo()
374 bool Monitor::TryLockLocked(Thread* self) { in TryLockLocked()
394 bool Monitor::TryLock(Thread* self) { in TryLock()
417 void Monitor::Lock(Thread* self) { in Lock()
602 template void Monitor::Lock<LockReason::kForLock>(Thread* self);
603 template void Monitor::Lock<LockReason::kForWait>(Thread* self);
633 void Monitor::FailedUnlock(ObjPtr<mirror::Object> o, in FailedUnlock()
636 Monitor* monitor) { in FailedUnlock()
701 bool Monitor::Unlock(Thread* self) { in Unlock()
732 void Monitor::SignalContendersAndReleaseMonitorLock(Thread* self) { in SignalContendersAndReleaseMonitorLock()
779 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait()
921 void Monitor::Notify(Thread* self) { in Notify()
938 void Monitor::NotifyAll(Thread* self) { in NotifyAll()
963 bool Monitor::Deflate(Thread* self, ObjPtr<mirror::Object> obj) { in Deflate()
969 Monitor* monitor = lw.FatLockMonitor(); in Deflate()
1013 void Monitor::Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) { in Inflate()
1017 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate()
1034 void Monitor::InflateThinLocked(Thread* self, Handle<mirror::Object> obj, LockWord lock_word, in InflateThinLocked()
1080 ObjPtr<mirror::Object> Monitor::MonitorEnter(Thread* self, in MonitorEnter()
1166 Monitor* mon = lock_word.FatLockMonitor(); in MonitorEnter()
1188 bool Monitor::MonitorExit(Thread* self, ObjPtr<mirror::Object> obj) { in MonitorExit()
1239 Monitor* mon = lock_word.FatLockMonitor(); in MonitorExit()
1250 void Monitor::Wait(Thread* self, in Wait()
1296 Monitor* mon = lock_word.FatLockMonitor(); in Wait()
1300 void Monitor::DoNotify(Thread* self, ObjPtr<mirror::Object> obj, bool notify_all) { in DoNotify()
1322 Monitor* mon = lock_word.FatLockMonitor(); in DoNotify()
1337 uint32_t Monitor::GetLockOwnerThreadId(ObjPtr<mirror::Object> obj) { in GetLockOwnerThreadId()
1348 Monitor* mon = lock_word.FatLockMonitor(); in GetLockOwnerThreadId()
1358 ThreadState Monitor::FetchState(const Thread* thread, in FetchState()
1376 Monitor* monitor = thread->GetWaitMonitor(); in FetchState()
1408 ObjPtr<mirror::Object> Monitor::GetContendedMonitor(Thread* thread) { in GetContendedMonitor()
1415 Monitor* monitor = thread->GetWaitMonitor(); in GetContendedMonitor()
1423 void Monitor::VisitLocks(StackVisitor* stack_visitor, in VisitLocks()
1502 bool Monitor::IsValidLockWord(LockWord lock_word) { in IsValidLockWord()
1512 Monitor* mon = lock_word.FatLockMonitor(); in IsValidLockWord()
1515 for (Monitor* list_mon : list->list_) { in IsValidLockWord()
1530 bool Monitor::IsLocked() REQUIRES_SHARED(Locks::mutator_lock_) { in IsLocked()
1535 void Monitor::TranslateLocation(ArtMethod* method, in TranslateLocation()
1552 uint32_t Monitor::GetOwnerThreadId() { in GetOwnerThreadId()
1596 void MonitorList::Add(Monitor* m) { in Add()
1615 Monitor* m = *it; in SweepMonitorList()
1644 if (Monitor::Deflate(self_, object)) { in IsMarked()
1681 Monitor* mon = lock_word.FatLockMonitor(); in MonitorInfo()