Lines Matching refs:obj
28 void LockCountData::AddMonitor(Thread* self, mirror::Object* obj) { in AddMonitor() argument
29 if (obj == nullptr) { in AddMonitor()
42 monitors_->push_back(obj); in AddMonitor()
45 void LockCountData::RemoveMonitorOrThrow(Thread* self, const mirror::Object* obj) { in RemoveMonitorOrThrow() argument
46 if (obj == nullptr) { in RemoveMonitorOrThrow()
53 auto it = std::find(monitors_->begin(), monitors_->end(), obj); in RemoveMonitorOrThrow()
66 const_cast<mirror::Object*>(obj)->PrettyTypeOf().c_str()); in RemoveMonitorOrThrow()
72 void MonitorExitHelper(Thread* self, mirror::Object* obj) NO_THREAD_SAFETY_ANALYSIS { in MonitorExitHelper() argument
74 DCHECK(obj != nullptr); in MonitorExitHelper()
75 obj->MonitorExit(self); in MonitorExitHelper()
88 for (mirror::Object* obj : *monitors_) { in CheckAllMonitorsReleasedOrThrow()
89 MonitorExitHelper(self, obj); in CheckAllMonitorsReleasedOrThrow()