Home
last modified time | relevance | path

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

/art/runtime/base/
Dmessage_queue.h103 MutexLock lock{self, mutex_}; in SendMessage()
112 MutexLock lock{self, mutex_}; in SetTimeout()
121 MutexLock lock{self, mutex_}; in ReceiveMessage()
161 Mutex mutex_{"MessageQueue Mutex"};
162 ConditionVariable cv_{"MessageQueue ConditionVariable", mutex_};
164 std::deque<Message> messages_ GUARDED_BY(mutex_);
165 std::optional<uint64_t> deadline_milliseconds_ GUARDED_BY(mutex_);
Dmutex.cc151 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()
160 DCHECK_EQ(gAllMutexData->all_mutexes_guard.load(std::memory_order_relaxed), mutex_); in ~ScopedAllMutexesLock()
165 const BaseMutex* const mutex_; member in art::ScopedAllMutexesLock
172 : mutex_(kLogLockContentions ? mutex : nullptr), in ScopedContentionRecorder()
187 mutex_->RecordContention(blocked_tid_, owner_tid_, end_nano_time - start_nano_time_); in ~ScopedContentionRecorder()
192 BaseMutex* const mutex_; member in art::ScopedContentionRecorder
399 CHECK_MUTEX_CALL(pthread_mutex_init, (&mutex_, nullptr)); in Mutex()
424 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex()
496 CHECK_MUTEX_CALL(pthread_mutex_lock, (&mutex_)); in ExclusiveLock()
581 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.h283 pthread_mutex_t mutex_;
/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/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.cc300 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
314 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in ~WatchDog()
317 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in ~WatchDog()
322 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_destroy, (&mutex_), reason); in ~WatchDog()
386 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in Wait()
388 int rc = pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts); in Wait()
399 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in Wait()
414 pthread_mutex_t mutex_; member in art::WatchDog