Lines Matching refs:kMonitorCounting
74 template <bool kMonitorCounting>
88 if (kMonitorCounting && frame->GetMethod()->MustCountLocks()) { in DoMonitorEnter()
93 template <bool kMonitorCounting>
100 if (kMonitorCounting && frame->GetMethod()->MustCountLocks()) { in DoMonitorExit()
105 template <bool kMonitorCounting>
109 if (kMonitorCounting && frame->GetMethod()->MustCountLocks()) { in DoMonitorCheckOnExit()
158 template <bool kMonitorCounting>
164 if (kMonitorCounting && shadow_frame->GetMethod()->MustCountLocks()) { in UnlockHeldMonitors()
170 DoMonitorExit<kMonitorCounting>(self, shadow_frame, *obj); in UnlockHeldMonitors()
184 DoMonitorExit<kMonitorCounting>( in UnlockHeldMonitors()
205 static constexpr bool kMonitorCounting = (kMonitorState == MonitorState::kCountingMonitors); in PerformNonStandardReturn() local
215 UnlockHeldMonitors<kMonitorCounting>(self, &frame); in PerformNonStandardReturn()
217 DoMonitorCheckOnExit<kMonitorCounting>(self, &frame); in PerformNonStandardReturn()