Lines Matching full:monitor
349 auto res = Monitor::MonitorEnter(header); in ObjectMonitorEnter()
351 ASSERT(res != Monitor::State::INTERRUPTED); in ObjectMonitorEnter()
352 if (UNLIKELY(res != Monitor::State::OK)) { in ObjectMonitorEnter()
364 auto res = Monitor::MonitorExit(header); in ObjectMonitorExit()
366 ASSERT(res != Monitor::State::INTERRUPTED); in ObjectMonitorExit()
367 if (res == Monitor::State::ILLEGAL) { in ObjectMonitorExit()
376 Monitor::State state = Monitor::Wait(header, ThreadStatus::IS_WAITING, 0, 0); in ObjectWait()
377 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in ObjectWait()
382 Monitor::State state = Monitor::Wait(header, ThreadStatus::IS_TIMED_WAITING, timeout, 0); in ObjectTimedWait()
383 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in ObjectTimedWait()
388 Monitor::State state = Monitor::Wait(header, ThreadStatus::IS_TIMED_WAITING, timeout, nanos); in ObjectTimedWaitNanos()
389 LOG_IF(state == Monitor::State::ILLEGAL, FATAL, RUNTIME) << "Monitor::Wait() failed"; in ObjectTimedWaitNanos()
394 Monitor::State state = Monitor::Notify(header); in ObjectNotify()
395 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::Notify() failed"; in ObjectNotify()
400 Monitor::State state = Monitor::NotifyAll(header); in ObjectNotifyAll()
401 LOG_IF(state != Monitor::State::OK, FATAL, RUNTIME) << "Monitor::NotifyAll() failed"; in ObjectNotifyAll()