Searched refs:mutex (Results 1 - 6 of 6) sorted by relevance

/art/runtime/base/
H A Dmutex-inl.h22 #include "mutex.h"
49 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) argument
50 : mutex_(kLogLockContentions ? mutex : NULL),
56 mutex->GetName(), owner_tid);
145 CHECK(self->GetHeldMutex(level_) == this) << "Unlocking on unacquired mutex: " << name_;
H A Dmutex.cc17 #include "mutex.h"
24 #include "mutex-inl.h"
61 // A guard for all_mutexes_ that's not a mutex (Mutexes must CAS to acquire and busy wait).
87 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { argument
88 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakAcquire(0, mutex)) {
133 BaseMutex* mutex = *it; local
134 if (mutex->HasEverContended()) {
135 mutex->Dump(os);
141 BaseMutex* mutex local
[all...]
H A Dmutex.h207 // Block until mutex is free then acquire exclusive access.
366 // Exclusive owner. Modification guarded by this mutex.
383 explicit ConditionVariable(const char* name, Mutex& mutex);
388 // TODO: No thread safety analysis on Wait and TimedWait as they call mutex operations via their
/art/runtime/
H A DAndroid.mk28 base/mutex.cc \
297 base/mutex.h \
H A Dthread.h30 #include "base/mutex.h"
759 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { argument
760 tlsPtr_.held_mutexes[level] = mutex;
H A Dthread.cc34 #include "base/mutex.h"
853 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); local
854 if (mutex != nullptr) {
855 os << " \"" << mutex->GetName() << "\"";
856 if (mutex->IsReaderWriterMutex()) {
857 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex);
1108 wait_mutex_ = new Mutex("a thread wait mutex");

Completed in 99 milliseconds