Searched defs:mutex (Results 1 - 4 of 4) sorted by relevance
/art/runtime/base/ |
H A D | mutex.cc | 17 #include "mutex.h" 27 #include "mutex-inl.h" 69 // A guard for all_mutexes_ that's not a mutex (Mutexes must CAS to acquire and busy wait). 95 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { argument 96 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakAcquire(0, mutex)) { 119 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) argument 120 : mutex_(kLogLockContentions ? mutex : nullptr), 126 mutex->GetName(), owner_tid); 178 BaseMutex* mutex local 186 BaseMutex* mutex = *it; local [all...] |
/art/runtime/openjdkjvm/ |
H A D | OpenjdkJvm.cc | 133 pthread_mutex_t* mutex = local 135 CHECK(mutex != nullptr); 136 CHECK_PTHREAD_CALL(pthread_mutex_init, (mutex, nullptr), "JVM_RawMonitorCreate"); 137 return mutex;
|
/art/runtime/ |
H A D | thread.h | 32 #include "base/mutex.h" 952 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { argument 953 tlsPtr_.held_mutexes[level] = mutex; 1463 // to avoid additional cost of a mutex and a condition variable, as used in art::Barrier.
|
H A D | thread.cc | 36 #include "base/mutex.h" 1331 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); local 1332 if (mutex != nullptr) { 1333 os << " \"" << mutex->GetName() << "\""; 1334 if (mutex->IsReaderWriterMutex()) { 1335 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); 1606 wait_mutex_ = new Mutex("a thread wait mutex");
|
Completed in 181 milliseconds