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.cc85 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()
94 DCHECK_EQ(gAllMutexData->all_mutexes_guard.load(std::memory_order_relaxed), mutex_); in ~ScopedAllMutexesLock()
99 const BaseMutex* const mutex_; member in art::ScopedAllMutexesLock
106 : mutex_(kLogLockContentions ? mutex : nullptr), in ScopedContentionRecorder()
121 mutex_->RecordContention(blocked_tid_, owner_tid_, end_nano_time - start_nano_time_); in ~ScopedContentionRecorder()
126 BaseMutex* const mutex_; member in art::ScopedContentionRecorder
326 CHECK_MUTEX_CALL(pthread_mutex_init, (&mutex_, nullptr)); in Mutex()
351 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex()
398 CHECK_MUTEX_CALL(pthread_mutex_lock, (&mutex_)); in ExclusiveLock()
431 int result = pthread_mutex_trylock(&mutex_); in ExclusiveTryLock()
[all …]
Dlocks.cc104 explicit ScopedExpectedMutexesOnWeakRefAccessLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedExpectedMutexesOnWeakRefAccessLock()
115 mutex_); in ~ScopedExpectedMutexesOnWeakRefAccessLock()
120 const BaseMutex* const mutex_; member in art::Locks::ScopedExpectedMutexesOnWeakRefAccessLock
Dmutex.h245 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.cc526 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
540 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in ~WatchDog()
543 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in ~WatchDog()
548 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_destroy, (&mutex_), reason); in ~WatchDog()
612 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in Wait()
614 int rc = pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts); in Wait()
625 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in Wait()
640 pthread_mutex_t mutex_; member in art::WatchDog