/art/runtime/base/ |
D | mutex_test.cc | 27 static void AssertDepth(Mutex& mu, uint32_t expected_depth) { in AssertDepth() 28 ASSERT_EQ(expected_depth, mu.GetDepth()); in AssertDepth() 32 mu.AssertNotHeld(Thread::Current()); in AssertDepth() 34 mu.AssertHeld(Thread::Current()); in AssertDepth() 40 Mutex mu("test mutex"); in TEST_F() local 41 MutexTester::AssertDepth(mu, 0U); in TEST_F() 42 mu.Lock(Thread::Current()); in TEST_F() 43 MutexTester::AssertDepth(mu, 1U); in TEST_F() 44 mu.Unlock(Thread::Current()); in TEST_F() 45 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 | 245 std::ostream& operator<<(std::ostream& os, const Mutex& mu); 332 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu); 450 std::ostream& operator<<(std::ostream& os, const MutatorMutex& mu); 512 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) { in MutexLock() argument 532 ALWAYS_INLINE ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) ACQUIRE(mu); 546 WriterMutexLock(Thread* self, ReaderWriterMutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : in WriterMutexLock() argument 547 self_(self), mu_(mu) { in WriterMutexLock()
|
/art/runtime/ |
D | linear_alloc.cc | 27 MutexLock mu(self, lock_); in Realloc() local 32 MutexLock mu(self, lock_); in Alloc() local 37 MutexLock mu(self, lock_); in AllocAlign16() local 42 MutexLock mu(Thread::Current(), lock_); in GetUsedMemory() local 47 MutexLock mu(Thread::Current(), lock_); in GetArenaPool() local 52 MutexLock mu(Thread::Current(), lock_); in Contains() local
|
D | class_table.cc | 32 WriterMutexLock mu(Thread::Current(), lock_); in FreezeSnapshot() local 37 ReaderMutexLock mu(Thread::Current(), lock_); in Contains() local 49 ReaderMutexLock mu(Thread::Current(), lock_); in LookupByDescriptor() local 67 WriterMutexLock mu(Thread::Current(), lock_); in UpdateClass() local 105 ReaderMutexLock mu(Thread::Current(), lock_); in NumZygoteClasses() local 114 ReaderMutexLock mu(Thread::Current(), lock_); in NumNonZygoteClasses() local 119 ReaderMutexLock mu(Thread::Current(), lock_); in NumReferencedZygoteClasses() local 128 ReaderMutexLock mu(Thread::Current(), lock_); in NumReferencedNonZygoteClasses() local 134 ReaderMutexLock mu(Thread::Current(), lock_); in Lookup() local 146 WriterMutexLock mu(Thread::Current(), lock_); in TryInsert() local [all …]
|
D | barrier.cc | 38 MutexLock mu(self, lock_); in Pass() local 47 MutexLock mu(self, lock_); in Init() local 53 MutexLock mu(self, lock_); in Increment() local 73 MutexLock mu(self, lock_); in Increment() local 94 MutexLock mu(self, lock_); in GetCount() local
|
D | thread_pool.cc | 110 MutexLock mu(self, task_queue_lock_); in AddTask() local 119 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks() local 149 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers() local 157 MutexLock mu(self, task_queue_lock_); in ~ThreadPool() local 169 MutexLock mu(self, task_queue_lock_); in StartWorkers() local 177 MutexLock mu(self, task_queue_lock_); in StopWorkers() local 182 MutexLock mu(self, task_queue_lock_); in GetTask() local 214 MutexLock mu(self, task_queue_lock_); in TryGetTask() local 237 MutexLock mu(self, task_queue_lock_); in Wait() local 248 MutexLock mu(self, task_queue_lock_); in GetTaskCount() local
|
D | intern_table.cc | 44 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in Size() local 49 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in StrongSize() local 54 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in WeakSize() local 63 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in VisitRoots() local 92 MutexLock mu(self, *Locks::intern_table_lock_); in LookupWeak() local 97 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong() local 108 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong() local 121 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddNewTable() local 181 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddImagesStringsToTable() local 194 MutexLock mu(self, *Locks::intern_table_lock_); in BroadcastForNewInterns() local [all …]
|
D | thread_list.cc | 98 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown() local 136 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks() local 186 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads() local 226 MutexLock mu(self, *Locks::logging_lock_); in Run() local 257 MutexLock mu(self, *Locks::thread_list_lock_); in Dump() local 277 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended() local 331 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint() local 414 MutexLock mu(self, *Locks::thread_list_lock_); in RunEmptyCheckpoint() local 522 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpointOnRunnableThreads() local 578 MutexLock mu(self, *Locks::thread_list_lock_); in FlipThreadRoots() local [all …]
|
D | class_table-inl.h | 29 ReaderMutexLock mu(Thread::Current(), lock_); in VisitRoots() 47 ReaderMutexLock mu(Thread::Current(), lock_); in VisitRoots() 65 ReaderMutexLock mu(Thread::Current(), lock_); in Visit() 78 ReaderMutexLock mu(Thread::Current(), lock_); in Visit() 137 WriterMutexLock mu(Thread::Current(), lock_); in RemoveStrongRoots()
|
D | transaction.cc | 52 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction() local 76 MutexLock mu(Thread::Current(), log_lock_); in Abort() local 105 MutexLock mu(Thread::Current(), log_lock_); in IsAborted() local 114 MutexLock mu(Thread::Current(), log_lock_); in IsStrict() local 119 MutexLock mu(Thread::Current(), log_lock_); in GetAbortMessage() local 124 MutexLock mu(Thread::Current(), log_lock_); in WriteConstraint() local 136 MutexLock mu(Thread::Current(), log_lock_); in ReadConstraint() local 149 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldBoolean() local 159 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldByte() local 169 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldChar() local [all …]
|
D | java_vm_ext.cc | 113 MutexLock mu(self, jni_on_load_lock_); in CheckOnLoadResult() local 136 MutexLock mu(self, jni_on_load_lock_); in SetResult() local 286 MutexLock mu(self, *Locks::jni_libraries_lock_); in FindNativeMethodInternal() local 316 MutexLock mu(self, *Locks::jni_libraries_lock_); in UnloadNativeLibraries() local 634 WriterMutexLock mu(self, *Locks::jni_globals_lock_); in AddGlobalRef() local 649 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in AddWeakGlobalRef() local 673 WriterMutexLock mu(self, *Locks::jni_globals_lock_); in DeleteGlobalRef() local 686 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in DeleteWeakGlobalRef() local 702 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in SetCheckJniEnabled() local 714 ReaderMutexLock mu(self, *Locks::jni_globals_lock_); in DumpForSigQuit() local [all …]
|
D | trace.cc | 109 MutexLock mu(Thread::Current(), *unique_methods_lock_); in DecodeTraceMethod() local 114 MutexLock mu(Thread::Current(), *unique_methods_lock_); in EncodeTraceMethod() local 299 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread() local 313 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread() local 326 MutexLock mu(self, *Locks::trace_lock_); in Start() local 370 MutexLock mu(self, *Locks::trace_lock_); in Start() local 406 MutexLock mu(self, *Locks::trace_lock_); in StopTracing() local 434 MutexLock mu(self, *Locks::thread_list_lock_); in StopTracing() local 488 MutexLock mu(self, *Locks::trace_lock_); in Pause() local 500 MutexLock mu(self, *Locks::trace_lock_); in Pause() local [all …]
|
/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 | 60 MutexLock mu(self, *Locks::reference_processor_lock_); in BroadcastForSlowPath() local 77 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent() local 116 MutexLock mu(self, *Locks::reference_processor_lock_); in StartPreservingReferences() local 121 MutexLock mu(self, *Locks::reference_processor_lock_); in StopPreservingReferences() local 135 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences() local 194 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences() local 275 ReaderMutexLock mu(self, *Locks::mutator_lock_); in EnqueueClearedReferences() local 295 MutexLock mu(self, *Locks::reference_processor_lock_); in ClearReferent() local 322 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/compiler/dex/ |
D | verification_results.cc | 40 WriterMutexLock mu(Thread::Current(), verified_methods_lock_); in ~VerificationResults() local 69 WriterMutexLock mu(Thread::Current(), verified_methods_lock_); in ProcessVerifiedMethod() local 105 ReaderMutexLock mu(Thread::Current(), verified_methods_lock_); in GetVerifiedMethod() local 126 WriterMutexLock mu(Thread::Current(), rejected_classes_lock_); in AddRejectedClass() local 133 ReaderMutexLock mu(Thread::Current(), rejected_classes_lock_); in IsClassRejected() local 152 WriterMutexLock mu(Thread::Current(), verified_methods_lock_); in AddDexFile() local
|
/art/runtime/gc/space/ |
D | bump_pointer_space.cc | 79 MutexLock mu(Thread::Current(), block_lock_); in Clear() local 97 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers() local 104 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers() local 116 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked() local 124 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked() local 165 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated() local 183 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetObjectsAllocated() local 204 MutexLock mu(Thread::Current(), block_lock_); in AllocNewTlab() local
|
D | dlmalloc_space.cc | 135 MutexLock mu(self, lock_); in AllocWithGrowth() local 170 MutexLock mu(self, lock_); in Free() local 199 MutexLock mu(self, lock_); in FreeList() local 220 MutexLock mu(self, lock_); in FreeList() local 227 MutexLock mu(Thread::Current(), lock_); in Trim() local 238 MutexLock mu(Thread::Current(), lock_); in Walk() local 244 MutexLock mu(Thread::Current(), lock_); in GetFootprint() local 249 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit() local 254 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit() local 267 MutexLock mu(Thread::Current(), lock_); in GetBytesAllocated() local [all …]
|
D | region_space.cc | 125 MutexLock mu(Thread::Current(), region_lock_); in FromSpaceSize() local 137 MutexLock mu(Thread::Current(), region_lock_); in UnevacFromSpaceSize() local 149 MutexLock mu(Thread::Current(), region_lock_); in ToSpaceSize() local 200 MutexLock mu(Thread::Current(), region_lock_); in SetFromSpace() local 272 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace() local 393 MutexLock mu(Thread::Current(), region_lock_); in LogFragmentationAllocFailure() local 431 MutexLock mu(Thread::Current(), region_lock_); in Clear() local 445 MutexLock mu(Thread::Current(), region_lock_); in ClampGrowthLimit() local 468 MutexLock mu(Thread::Current(), region_lock_); in DumpRegionForObject() local 473 MutexLock mu(Thread::Current(), region_lock_); in DumpRegions() local [all …]
|
D | large_object_space.cc | 50 MutexLock mu(Thread::Current(), lock_); in ~MemoryToolLargeObjectMapSpace() local 148 MutexLock mu(self, lock_); in Alloc() local 172 MutexLock mu(self, lock_); in IsZygoteLargeObject() local 179 MutexLock mu(self, lock_); in SetAllLargeObjectsAsZygoteObjects() local 186 MutexLock mu(self, lock_); in Free() local 205 MutexLock mu(Thread::Current(), lock_); in AllocationSize() local 227 MutexLock mu(Thread::Current(), lock_); in Walk() local 241 MutexLock mu(self, lock_); in Contains() local 379 MutexLock mu(Thread::Current(), lock_); in Walk() local 405 MutexLock mu(self, lock_); in Free() local [all …]
|
/art/runtime/jdwp/ |
D | object_registry.cc | 97 MutexLock mu(soa.Self(), lock_); in InternalAdd() local 161 MutexLock mu(self, lock_); in Clear() local 181 MutexLock mu(self, lock_); in InternalGet() local 197 MutexLock mu(self, lock_); in GetJObject() local 206 MutexLock mu(self, lock_); in DisableCollection() local 214 MutexLock mu(self, lock_); in EnableCollection() local 244 MutexLock mu(self, lock_); in IsCollected() local 258 MutexLock mu(self, lock_); in DisposeObject() local
|
D | jdwp_adb.cc | 100 MutexLock mu(Thread::Current(), state_lock_); in Shutdown() local 125 MutexLock mu(Thread::Current(), state_lock_); in IsDown() local 130 MutexLock mu(Thread::Current(), state_lock_); in ControlSock() local 198 MutexLock mu(Thread::Current(), state_lock_); in ReceiveClientFd() local 238 MutexLock mu(Thread::Current(), state_lock_); in Accept() local 306 MutexLock mu(Thread::Current(), state_lock_); in Accept() local
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 318 MutexLock mu(Thread::Current(), lock_); in ContainsMethod() local 338 MutexLock mu(Thread::Current(), lock_); in GetJniStubCode() local 534 MutexLock mu(Thread::Current(), lock_); in SweepRootTables() local 577 MutexLock mu(Thread::Current(), *Locks::native_debug_interface_lock_); in FreeCode() local 588 MutexLock mu(Thread::Current(), *Locks::cha_lock_); in FreeAllMethodHeaders() local 597 MutexLock mu(Thread::Current(), lock_); in FreeAllMethodHeaders() local 612 MutexLock mu(self, lock_); in RemoveMethodsIn() local 671 MutexLock mu(self, lock_); in WaitUntilInlineCacheAccessible() local 679 MutexLock mu(self, lock_); in BroadcastForInlineCacheAccess() local 753 MutexLock mu(self, lock_); in CommitCodeInternal() local [all …]
|
D | profile_saver.cc | 116 MutexLock mu(self, wait_lock_); in Run() local 140 MutexLock mu(self, wait_lock_); in Run() local 162 MutexLock mu(self, wait_lock_); in Run() local 195 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity() local 335 ReaderMutexLock mu(soa.Self(), *Locks::classlinker_classes_lock_); in SampleClassesAndExecutedMethods() local 399 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods() local 413 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods() local 488 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ProcessProfilingInfo() local 664 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in Start() local 766 MutexLock mu(self, *Locks::profiler_lock_); in ShuttingDown() local [all …]
|