/art/runtime/base/ |
D | mutex_test.cc | 32 static void AssertDepth(Mutex& mu, uint32_t expected_depth) { in AssertDepth() 33 ASSERT_EQ(expected_depth, mu.GetDepth()); in AssertDepth() 37 mu.AssertNotHeld(Thread::Current()); in AssertDepth() 39 mu.AssertHeld(Thread::Current()); in AssertDepth() 48 Mutex mu("test mutex"); in TEST_F() local 49 MutexTester::AssertDepth(mu, 0U); in TEST_F() 50 mu.Lock(Thread::Current()); in TEST_F() 51 MutexTester::AssertDepth(mu, 1U); in TEST_F() 52 mu.Unlock(Thread::Current()); in TEST_F() 53 MutexTester::AssertDepth(mu, 0U); in TEST_F() [all …]
|
D | quasi_atomic.cc | 48 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexRead64() local 53 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexWrite64() local 59 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexCas64() local
|
D | mutex.h | 174 std::ostream& operator<<(std::ostream& os, const Mutex& mu); 317 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu); 437 std::ostream& operator<<(std::ostream& os, const MutatorMutex& mu); 509 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) { in MutexLock() argument 527 ALWAYS_INLINE ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) ACQUIRE(mu); 541 WriterMutexLock(Thread* self, ReaderWriterMutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : in WriterMutexLock() argument 542 self_(self), mu_(mu) { in WriterMutexLock()
|
D | timing_logger.cc | 48 MutexLock mu(Thread::Current(), *GetLock()); in SetName() local 56 MutexLock mu(Thread::Current(), *GetLock()); in End() local 61 MutexLock mu(Thread::Current(), *GetLock()); in Reset() local 68 MutexLock mu(Thread::Current(), *GetLock()); in AddLogger() local 80 MutexLock mu(Thread::Current(), *GetLock()); in GetIterations() local 85 MutexLock mu(Thread::Current(), *GetLock()); in Dump() local
|
/art/runtime/ |
D | runtime_callbacks.cc | 38 ReaderMutexLock mu(Thread::Current(), *this->callback_lock_); \ 52 WriterMutexLock mu(Thread::Current(), *callback_lock_); in AddDdmCallback() local 57 WriterMutexLock mu(Thread::Current(), *callback_lock_); in RemoveDdmCallback() local 68 WriterMutexLock mu(Thread::Current(), *callback_lock_); in AddDebuggerControlCallback() local 73 WriterMutexLock mu(Thread::Current(), *callback_lock_); in RemoveDebuggerControlCallback() local 99 WriterMutexLock mu(Thread::Current(), *callback_lock_); in AddMethodInspectionCallback() local 104 WriterMutexLock mu(Thread::Current(), *callback_lock_); in RemoveMethodInspectionCallback() local 118 WriterMutexLock mu(Thread::Current(), *callback_lock_); in AddThreadLifecycleCallback() local 147 WriterMutexLock mu(Thread::Current(), *callback_lock_); in AddMonitorCallback() local 152 WriterMutexLock mu(Thread::Current(), *callback_lock_); in RemoveMonitorCallback() local [all …]
|
D | class_table.cc | 33 WriterMutexLock mu(Thread::Current(), lock_); in FreezeSnapshot() local 44 WriterMutexLock mu(Thread::Current(), lock_); in UpdateClass() local 80 ReaderMutexLock mu(Thread::Current(), lock_); in NumZygoteClasses() local 89 ReaderMutexLock mu(Thread::Current(), lock_); in NumNonZygoteClasses() local 94 ReaderMutexLock mu(Thread::Current(), lock_); in NumReferencedZygoteClasses() local 103 ReaderMutexLock mu(Thread::Current(), lock_); in NumReferencedNonZygoteClasses() local 109 ReaderMutexLock mu(Thread::Current(), lock_); in Lookup() local 129 WriterMutexLock mu(Thread::Current(), lock_); in InsertWithHash() local 134 WriterMutexLock mu(Thread::Current(), lock_); in InsertStrongRoot() local 156 WriterMutexLock mu(Thread::Current(), lock_); in InsertOatFile() local [all …]
|
D | barrier.cc | 39 MutexLock mu(self, *GetLock()); in Pass() local 44 MutexLock mu(self, *GetLock()); in IncrementNoWait() local 53 MutexLock mu(self, *GetLock()); in Init() local 59 MutexLock mu(self, *GetLock()); in Increment() local 79 MutexLock mu(self, *GetLock()); in Increment() local 100 MutexLock mu(self, *GetLock()); in GetCount() local
|
D | thread_pool.cc | 150 MutexLock mu(self, task_queue_lock_); in AddTask() local 165 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks() local 193 MutexLock mu(self, task_queue_lock_); in CreateThreads() local 219 MutexLock mu(self, task_queue_lock_); in DeleteThreads() local 233 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers() local 244 MutexLock mu(self, task_queue_lock_); in StartWorkers() local 252 MutexLock mu(self, task_queue_lock_); in StopWorkers() local 257 MutexLock mu(self, task_queue_lock_); in HasStarted() local 262 MutexLock mu(self, task_queue_lock_); in GetTask() local 294 MutexLock mu(self, task_queue_lock_); in TryGetTask() local [all …]
|
D | linear_alloc-inl.h | 44 MutexLock mu(self, lock_); in SetupForPostZygoteFork() 54 MutexLock mu(self, lock_); in Realloc() 78 MutexLock mu(self, lock_); in Alloc() 90 MutexLock mu(self, lock_); in AllocAlign16() 121 MutexLock mu(Thread::Current(), lock_); in GetUsedMemory() 126 MutexLock mu(Thread::Current(), lock_); in GetArenaPool() 131 MutexLock mu(Thread::Current(), lock_); in Contains()
|
D | app_info.cc | 57 MutexLock mu(Thread::Current(), update_mutex_); in RegisterAppInfo() local 81 MutexLock mu(Thread::Current(), update_mutex_); in RegisterOdexStatus() local 97 MutexLock mu(Thread::Current(), update_mutex_); in HasRegisteredAppInfo() local 105 MutexLock mu(Thread::Current(), update_mutex_); in GetPrimaryApkOptimizationStatus() local 120 MutexLock mu(Thread::Current(), update_mutex_); in GetRegisteredCodeType() local 127 MutexLock mu(Thread::Current(), rhs.update_mutex_); in operator <<() local 147 MutexLock mu(Thread::Current(), update_mutex_); in GetPrimaryApkReferenceProfile() local
|
D | thread_list.cc | 102 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown() local 130 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks() local 179 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads() local 219 MutexLock mu(self, lock_); in Run() local 229 MutexLock mu(self, lock_); in Dump() local 262 MutexLock mu(self, *Locks::thread_list_lock_); in Dump() local 283 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended() local 337 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint() local 423 MutexLock mu(self, *Locks::thread_list_lock_); in RunEmptyCheckpoint() local 565 MutexLock mu(self, *Locks::thread_list_lock_); in FlipThreadRoots() local [all …]
|
D | intern_table.cc | 46 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in Size() local 51 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in StrongSize() local 56 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in WeakSize() local 65 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in VisitRoots() local 109 MutexLock mu(self, *Locks::intern_table_lock_); in LookupWeak() local 117 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong() local 125 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong() local 144 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddNewTable() local 184 MutexLock mu(self, *Locks::intern_table_lock_); in BroadcastForNewInterns() local 192 MutexLock mu(self, *Locks::intern_table_lock_); in WaitUntilAccessible() local [all …]
|
D | class_table-inl.h | 73 ReaderMutexLock mu(Thread::Current(), lock_); in VisitRoots() 91 ReaderMutexLock mu(Thread::Current(), lock_); in VisitRoots() 128 ReaderMutexLock mu(Thread::Current(), lock_); in VisitClassesAndRoots() 146 ReaderMutexLock mu(Thread::Current(), lock_); in Visit() 159 ReaderMutexLock mu(Thread::Current(), lock_); in Visit() 223 WriterMutexLock mu(Thread::Current(), lock_); in RemoveStrongRoots() 236 ReaderMutexLock mu(Thread::Current(), lock_); in Size()
|
D | runtime_test.cc | 41 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in TEST_F() 55 MutexLock mu(Thread::Current(), *Locks::thread_suspend_count_lock_); in TEST_F()
|
D | signal_catcher.cc | 82 MutexLock mu(self, lock_); in SignalCatcher() local 97 MutexLock mu(Thread::Current(), lock_); in SetHaltFlag() local 102 MutexLock mu(Thread::Current(), lock_); in ShouldHalt() local 182 MutexLock mu(self, signal_catcher->lock_); in Run() local
|
D | trace.cc | 399 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread() local 413 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread() local 489 MutexLock mu(self, *Locks::trace_lock_); in Start() local 524 MutexLock mu(self, *Locks::trace_lock_); in Start() local 598 MutexLock mu(self, *Locks::trace_lock_); in StopTracing() local 627 MutexLock mu(self, *Locks::thread_list_lock_); in StopTracing() local 656 MutexLock mu(self, *Locks::trace_lock_); in StopTracing() local 689 MutexLock mu(self, *Locks::trace_lock_); in FlushThreadBuffer() local 710 MutexLock mu(Thread::Current(), *Locks::trace_lock_); in GetMethodTracingMode() local 809 MutexLock mu(Thread::Current(), tracing_lock_); in DumpBuf() local [all …]
|
/art/dex2oat/dex/ |
D | verification_results.cc | 40 WriterMutexLock mu(Thread::Current(), rejected_classes_lock_); in AddRejectedClass() local 47 ReaderMutexLock mu(Thread::Current(), rejected_classes_lock_); in IsClassRejected() local 53 WriterMutexLock mu(Thread::Current(), uncompilable_methods_lock_); in AddUncompilableMethod() local 62 WriterMutexLock mu(Thread::Current(), uncompilable_methods_lock_); in AddUncompilableClass() local 71 ReaderMutexLock mu(Thread::Current(), uncompilable_methods_lock_); in IsUncompilableMethod() local
|
/art/runtime/gc/ |
D | task_processor.cc | 43 MutexLock mu(self, lock_); in AddTask() local 50 MutexLock mu(self, lock_); in GetTask() local 80 MutexLock mu(self, lock_); in UpdateTargetRunTime() local 102 MutexLock mu(Thread::Current(), lock_); in IsRunning() local 107 MutexLock mu(Thread::Current(), lock_); in GetRunningThread() local 112 MutexLock mu(self, lock_); in Stop() local 119 MutexLock mu(self, lock_); in Start() local
|
D | reference_processor.cc | 86 MutexLock mu(self, *Locks::reference_processor_lock_); in BroadcastForSlowPath() local 117 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent() local 193 MutexLock mu(self, *Locks::reference_processor_lock_); in Setup() local 212 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences() local 240 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences() local 303 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences() local 385 ReaderMutexLock mu(self, *Locks::mutator_lock_); in CollectClearedReferences() local 405 MutexLock mu(self, *Locks::reference_processor_lock_); in ClearReferent() local 432 MutexLock mu(self, *Locks::reference_processor_lock_); in MakeCircularListIfUnenqueued() local
|
D | system_weak.h | 52 MutexLock mu(Thread::Current(), allow_disallow_lock_); in Allow() 61 MutexLock mu(Thread::Current(), allow_disallow_lock_); in Disallow() 67 MutexLock mu(Thread::Current(), allow_disallow_lock_); in Broadcast()
|
/art/runtime/gc/space/ |
D | bump_pointer_space.cc | 92 MutexLock mu(Thread::Current(), block_lock_); in Clear() local 105 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers() local 112 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers() local 124 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked() local 132 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked() local 169 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated() local 187 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetObjectsAllocated() local 208 MutexLock mu(Thread::Current(), block_lock_); in AllocNewTlab() local 248 MutexLock mu(self, block_lock_); in AlignEnd() local 258 MutexLock mu(self, block_lock_); in GetBlockSizes() local [all …]
|
D | dlmalloc_space.cc | 172 MutexLock mu(self, lock_); in AllocWithGrowth() local 227 MutexLock mu(self, lock_); in Free() local 256 MutexLock mu(self, lock_); in FreeList() local 277 MutexLock mu(self, lock_); in FreeList() local 284 MutexLock mu(Thread::Current(), lock_); in Trim() local 295 MutexLock mu(Thread::Current(), lock_); in Walk() local 301 MutexLock mu(Thread::Current(), lock_); in GetFootprint() local 306 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit() local 311 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit() local 324 MutexLock mu(Thread::Current(), lock_); in GetBytesAllocated() local [all …]
|
D | large_object_space.cc | 151 MutexLock mu(self, lock_); in Alloc() local 174 MutexLock mu(self, lock_); in IsZygoteLargeObject() local 181 MutexLock mu(self, lock_); in SetAllLargeObjectsAsZygoteObjects() local 192 MutexLock mu(self, lock_); in Free() local 209 MutexLock mu(Thread::Current(), lock_); in AllocationSize() local 231 MutexLock mu(Thread::Current(), lock_); in Walk() local 240 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap() local 252 MutexLock mu(self, lock_); in Contains() local 396 MutexLock mu(Thread::Current(), lock_); in Walk() local 414 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap() local [all …]
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 226 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in Create() local 297 MutexLock mu(self, *Locks::jit_lock_); in ContainsMethod() local 322 MutexLock mu(self, *Locks::jit_lock_); in GetJniStubCode() local 341 MutexLock mu(self, *Locks::jit_lock_); in GetSavedEntryPointOfPreCompiledMethod() local 414 MutexLock mu(self, *Locks::jit_lock_); in SweepRootTables() local 533 MutexLock mu(self, *Locks::jit_lock_); in RemoveMethodsIn() local 591 MutexLock mu(self, *Locks::jit_lock_); in WaitUntilInlineCacheAccessible() local 599 MutexLock mu(self, *Locks::jit_lock_); in BroadcastForInlineCacheAccess() local 648 MutexLock mu(self, *Locks::jit_lock_); in WaitForPotentialCollectionToCompleteRunnable() local 680 MutexLock mu(self, *Locks::jit_lock_); in Commit() local [all …]
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 123 MutexLock mu(self, jni_on_load_lock_); in CheckOnLoadResult() local 146 MutexLock mu(self, jni_on_load_lock_); in SetResult() local 319 MutexLock mu(self, *Locks::jni_libraries_lock_); in FindNativeMethodInternal() local 349 MutexLock mu(self, *Locks::jni_libraries_lock_); in UnloadNativeLibraries() local 697 WriterMutexLock mu(self, *Locks::jni_globals_lock_); in AddGlobalRef() local 726 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in AddWeakGlobalRef() local 748 WriterMutexLock mu(self, *Locks::jni_globals_lock_); in DeleteGlobalRef() local 762 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in DeleteWeakGlobalRef() local 779 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in SetCheckJniEnabled() local 791 ReaderMutexLock mu(self, *Locks::jni_globals_lock_); in DumpForSigQuit() local [all …]
|