Lines Matching full:monitor
76 // Potential drawback: infrustructure to detect, when the monitor is not acquired by any thread and…
79 // Potential targets: after monitor release check the owners of monitors,
84 class Monitor {
99 static Monitor::State MonitorEnter(ObjectHeader *obj, bool trylock = false);
103 static Monitor::State MonitorExit(ObjectHeader *obj);
127 * @param thread pointer to thread which will acquire the monitor.
128 …* @tparam for_other_thread include logic for inflation of monitor owned by other thread. Should be…
130 …* @return true if new monitor was successfuly created and object's markword updated with monitor's…
141 * @return true if object's monitor was found, acquired and freed; false otherwise
149 static Monitor *GetMonitorFromObject(ObjectHeader *obj);
155 // NO_THREAD_SAFETY_ANALYSIS for monitor->lock_
176 explicit Monitor(MonitorId id) in Monitor() function
179 // Atomic with relaxed order reason: memory access in monitor in Monitor()
189 …// current Monitor::Notify implementation relies on the fact that reference to MTManagedThread is …
198 // NO_THREAD_SAFETY_ANALYSIS for monitor->lock_
214 // Atomic with relaxed order reason: memory access in monitor in GetOwner()