Home
last modified time | relevance | path

Searched refs:mutex_ (Results 1 – 6 of 6) sorted by relevance

/art/openjdkjvmti/
Dti_monitor.cc72 monitor->mutex_.unlock(); in Destroy()
100 if (mutex_.try_lock()) { in MonitorEnter()
105 mutex_.lock(); in MonitorEnter()
112 mutex_.unlock(); in MonitorEnter()
132 mutex_.unlock(); in MonitorExit()
182 std::unique_lock<std::mutex> lk(mutex_, std::adopt_lock); in Wait()
214 std::mutex mutex_; member in openjdkjvmti::JvmtiMonitor
/art/runtime/base/
Dmutex.cc137 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()
146 DCHECK_EQ(gAllMutexData->all_mutexes_guard.load(std::memory_order_relaxed), mutex_); in ~ScopedAllMutexesLock()
151 const BaseMutex* const mutex_; member in art::ScopedAllMutexesLock
158 : mutex_(kLogLockContentions ? mutex : nullptr), in ScopedContentionRecorder()
173 mutex_->RecordContention(blocked_tid_, owner_tid_, end_nano_time - start_nano_time_); in ~ScopedContentionRecorder()
178 BaseMutex* const mutex_; member in art::ScopedContentionRecorder
385 CHECK_MUTEX_CALL(pthread_mutex_init, (&mutex_, nullptr)); in Mutex()
410 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex()
469 CHECK_MUTEX_CALL(pthread_mutex_lock, (&mutex_)); in ExclusiveLock()
503 int result = pthread_mutex_trylock(&mutex_); in ExclusiveTryLock()
[all …]
Dlocks.cc106 explicit ScopedExpectedMutexesOnWeakRefAccessLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedExpectedMutexesOnWeakRefAccessLock()
117 mutex_); in ~ScopedExpectedMutexesOnWeakRefAccessLock()
122 const BaseMutex* const mutex_; member in art::Locks::ScopedExpectedMutexesOnWeakRefAccessLock
Dmutex.h271 pthread_mutex_t mutex_;
/art/test/912-classes/
Dclasses.cc441 std::unique_lock<std::mutex> lk(mutex_); in AgentThreadTest()
463 std::unique_lock<std::mutex> lk(mutex_); in ClassLoadCallback()
481 std::unique_lock<std::mutex> lk(mutex_); in ClassPrepareCallback()
558 static std::mutex mutex_; member in art::Test912Classes::ClassLoadPrepareEquality
571 std::mutex ClassLoadPrepareEquality::mutex_; member in art::Test912Classes::ClassLoadPrepareEquality
/art/dex2oat/
Ddex2oat.cc581 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
595 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in ~WatchDog()
598 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in ~WatchDog()
603 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_destroy, (&mutex_), reason); in ~WatchDog()
667 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in Wait()
669 int rc = pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts); in Wait()
680 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in Wait()
695 pthread_mutex_t mutex_; member in art::WatchDog