Lines Matching refs:self
28 void LockCountData::AddMonitor(Thread* self, mirror::Object* obj) { in AddMonitor() argument
35 if (self->IsExceptionPending()) { in AddMonitor()
45 void LockCountData::RemoveMonitorOrThrow(Thread* self, const mirror::Object* obj) { in RemoveMonitorOrThrow() argument
63 self->ClearException(); in RemoveMonitorOrThrow()
64 self->ThrowNewExceptionF("Ljava/lang/IllegalMonitorStateException;", in RemoveMonitorOrThrow()
72 void MonitorExitHelper(Thread* self, mirror::Object* obj) NO_THREAD_SAFETY_ANALYSIS { in MonitorExitHelper() argument
73 DCHECK(self != nullptr); in MonitorExitHelper()
75 obj->MonitorExit(self); in MonitorExitHelper()
78 bool LockCountData::CheckAllMonitorsReleasedOrThrow(Thread* self) { in CheckAllMonitorsReleasedOrThrow() argument
79 DCHECK(self != nullptr); in CheckAllMonitorsReleasedOrThrow()
84 self->ClearException(); in CheckAllMonitorsReleasedOrThrow()
89 MonitorExitHelper(self, obj); in CheckAllMonitorsReleasedOrThrow()
92 if (self->IsExceptionPending()) { in CheckAllMonitorsReleasedOrThrow()
93 self->ClearException(); in CheckAllMonitorsReleasedOrThrow()
98 self->ThrowNewExceptionF("Ljava/lang/IllegalMonitorStateException;", in CheckAllMonitorsReleasedOrThrow()