Home
last modified time | relevance | path

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

/art/runtime/base/
Dmutex-inl.h49 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) in ScopedContentionRecorder() argument
50 : mutex_(kLogLockContentions ? mutex : NULL), in ScopedContentionRecorder()
56 mutex->GetName(), owner_tid); in ScopedContentionRecorder()
Dmutex.cc87 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock() argument
88 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakAcquire(0, mutex)) { in ScopedAllMutexesLock()
133 BaseMutex* mutex = *it; in DumpAll() local
134 if (mutex->HasEverContended()) { in DumpAll()
135 mutex->Dump(os); in DumpAll()
141 BaseMutex* mutex = *it; in DumpAll() local
142 if (!mutex->HasEverContended()) { in DumpAll()
143 mutex->Dump(os); in DumpAll()
Dmutex.h383 explicit ConditionVariable(const char* name, Mutex& mutex);
/art/runtime/
DAndroid.mk28 base/mutex.cc \
297 base/mutex.h \
Dthread.cc853 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState() local
854 if (mutex != nullptr) { in DumpState()
855 os << " \"" << mutex->GetName() << "\""; in DumpState()
856 if (mutex->IsReaderWriterMutex()) { in DumpState()
857 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); in DumpState()
Dthread.h759 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { in SetHeldMutex() argument
760 tlsPtr_.held_mutexes[level] = mutex; in SetHeldMutex()