Home
last modified time | relevance | path

Searched refs:mu (Results 1 – 25 of 109) sorted by relevance

12345

/art/runtime/base/
Dmutex_test.cc27 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 …]
Dquasi_atomic.cc48 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
Dmutex.h161 std::ostream& operator<<(std::ostream& os, const Mutex& mu);
272 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu);
390 std::ostream& operator<<(std::ostream& os, const MutatorMutex& mu);
462 MutexLock(Thread* self, Mutex& mu) ACQUIRE(mu) : self_(self), mu_(mu) { in MutexLock() argument
480 ALWAYS_INLINE ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) ACQUIRE(mu);
494 WriterMutexLock(Thread* self, ReaderWriterMutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : in WriterMutexLock() argument
495 self_(self), mu_(mu) { in WriterMutexLock()
/art/runtime/
Dlinear_alloc.cc27 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
Druntime_callbacks.cc38 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
138 WriterMutexLock mu(Thread::Current(), *callback_lock_); in AddThreadLifecycleCallback() local
167 WriterMutexLock mu(Thread::Current(), *callback_lock_); in AddMonitorCallback() local
172 WriterMutexLock mu(Thread::Current(), *callback_lock_); in RemoveMonitorCallback() local
[all …]
Dclass_table.cc32 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
61 WriterMutexLock mu(Thread::Current(), lock_); in UpdateClass() local
97 ReaderMutexLock mu(Thread::Current(), lock_); in NumZygoteClasses() local
106 ReaderMutexLock mu(Thread::Current(), lock_); in NumNonZygoteClasses() local
111 ReaderMutexLock mu(Thread::Current(), lock_); in NumReferencedZygoteClasses() local
120 ReaderMutexLock mu(Thread::Current(), lock_); in NumReferencedNonZygoteClasses() local
126 ReaderMutexLock mu(Thread::Current(), lock_); in Lookup() local
138 WriterMutexLock mu(Thread::Current(), lock_); in TryInsert() local
[all …]
Dbarrier.cc39 MutexLock mu(self, *GetLock()); in Pass() local
48 MutexLock mu(self, *GetLock()); in Init() local
54 MutexLock mu(self, *GetLock()); in Increment() local
74 MutexLock mu(self, *GetLock()); in Increment() local
95 MutexLock mu(self, *GetLock()); in GetCount() local
Dthread_pool.cc114 MutexLock mu(self, task_queue_lock_); in AddTask() local
123 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks() local
151 MutexLock mu(self, task_queue_lock_); in CreateThreads() local
177 MutexLock mu(self, task_queue_lock_); in DeleteThreads() local
191 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers() local
201 MutexLock mu(self, task_queue_lock_); in StartWorkers() local
209 MutexLock mu(self, task_queue_lock_); in StopWorkers() local
214 MutexLock mu(self, task_queue_lock_); in GetTask() local
246 MutexLock mu(self, task_queue_lock_); in TryGetTask() local
269 MutexLock mu(self, task_queue_lock_); in Wait() local
[all …]
Druntime_test.cc38 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in TEST_F()
52 MutexLock mu(Thread::Current(), *Locks::thread_suspend_count_lock_); in TEST_F()
Dthread_list.cc98 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
228 MutexLock mu(self, *Locks::logging_lock_); in Run() local
259 MutexLock mu(self, *Locks::thread_list_lock_); in Dump() local
279 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended() local
333 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint() local
416 MutexLock mu(self, *Locks::thread_list_lock_); in RunEmptyCheckpoint() local
552 MutexLock mu(self, *Locks::thread_list_lock_); in FlipThreadRoots() local
586 ReaderMutexLock mu(self, *Locks::mutator_lock_); in FlipThreadRoots() local
[all …]
Dclass_table-inl.h31 ReaderMutexLock mu(Thread::Current(), lock_); in VisitRoots()
49 ReaderMutexLock mu(Thread::Current(), lock_); in VisitRoots()
67 ReaderMutexLock mu(Thread::Current(), lock_); in Visit()
80 ReaderMutexLock mu(Thread::Current(), lock_); in Visit()
139 WriterMutexLock mu(Thread::Current(), lock_); in RemoveStrongRoots()
Dintern_table.cc45 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in Size() local
50 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in StrongSize() local
55 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in WeakSize() local
64 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in VisitRoots() local
93 MutexLock mu(self, *Locks::intern_table_lock_); in LookupWeak() local
98 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong() local
109 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong() local
122 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddNewTable() local
183 MutexLock mu(self, *Locks::intern_table_lock_); in BroadcastForNewInterns() local
191 MutexLock mu(self, *Locks::intern_table_lock_); in WaitUntilAccessible() local
[all …]
Dtransaction.cc53 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction() local
77 MutexLock mu(Thread::Current(), log_lock_); in Abort() local
106 MutexLock mu(Thread::Current(), log_lock_); in IsAborted() local
115 MutexLock mu(Thread::Current(), log_lock_); in IsStrict() local
120 MutexLock mu(Thread::Current(), log_lock_); in GetAbortMessage() local
125 MutexLock mu(Thread::Current(), log_lock_); in WriteConstraint() local
137 MutexLock mu(Thread::Current(), log_lock_); in ReadConstraint() local
150 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldBoolean() local
160 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldByte() local
170 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldChar() local
[all …]
Dsignal_catcher.cc81 MutexLock mu(self, lock_); in SignalCatcher() local
96 MutexLock mu(Thread::Current(), lock_); in SetHaltFlag() local
101 MutexLock mu(Thread::Current(), lock_); in ShouldHalt() local
181 MutexLock mu(self, signal_catcher->lock_); in Run() local
/art/runtime/gc/
Dtask_processor.cc43 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
Dreference_processor.cc85 MutexLock mu(self, *Locks::reference_processor_lock_); in BroadcastForSlowPath() local
102 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent() local
141 MutexLock mu(self, *Locks::reference_processor_lock_); in StartPreservingReferences() local
146 MutexLock mu(self, *Locks::reference_processor_lock_); in StopPreservingReferences() local
160 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences() local
219 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences() local
303 ReaderMutexLock mu(self, *Locks::mutator_lock_); in CollectClearedReferences() local
323 MutexLock mu(self, *Locks::reference_processor_lock_); in ClearReferent() local
350 MutexLock mu(self, *Locks::reference_processor_lock_); in MakeCircularListIfUnenqueued() local
Dsystem_weak.h52 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/
Dverification_results.cc39 WriterMutexLock mu(Thread::Current(), verified_methods_lock_); in ~VerificationResults() local
68 WriterMutexLock mu(Thread::Current(), verified_methods_lock_); in ProcessVerifiedMethod() local
104 ReaderMutexLock mu(Thread::Current(), verified_methods_lock_); in GetVerifiedMethod() local
125 WriterMutexLock mu(Thread::Current(), rejected_classes_lock_); in AddRejectedClass() local
132 ReaderMutexLock mu(Thread::Current(), rejected_classes_lock_); in IsClassRejected() local
151 WriterMutexLock mu(Thread::Current(), verified_methods_lock_); in AddDexFile() local
/art/runtime/gc/space/
Dbump_pointer_space.cc88 MutexLock mu(Thread::Current(), block_lock_); in Clear() local
106 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers() local
113 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers() local
125 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked() local
133 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked() local
174 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated() local
192 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetObjectsAllocated() local
213 MutexLock mu(Thread::Current(), block_lock_); in AllocNewTlab() local
Ddlmalloc_space.cc172 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 …]
Dlarge_object_space.cc150 MutexLock mu(self, lock_); in Alloc() local
173 MutexLock mu(self, lock_); in IsZygoteLargeObject() local
180 MutexLock mu(self, lock_); in SetAllLargeObjectsAsZygoteObjects() local
187 MutexLock mu(self, lock_); in Free() local
204 MutexLock mu(Thread::Current(), lock_); in AllocationSize() local
226 MutexLock mu(Thread::Current(), lock_); in Walk() local
235 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap() local
247 MutexLock mu(self, lock_); in Contains() local
391 MutexLock mu(Thread::Current(), lock_); in Walk() local
409 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap() local
[all …]
/art/runtime/jdwp/
Dobject_registry.cc97 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
Djdwp_adb.cc97 MutexLock mu(Thread::Current(), state_lock_); in Shutdown() local
122 MutexLock mu(Thread::Current(), state_lock_); in IsDown() local
127 MutexLock mu(Thread::Current(), state_lock_); in ControlSock() local
195 MutexLock mu(Thread::Current(), state_lock_); in ReceiveClientFd() local
235 MutexLock mu(Thread::Current(), state_lock_); in Accept() local
303 MutexLock mu(Thread::Current(), state_lock_); in Accept() local
/art/runtime/jni/
Djava_vm_ext.cc121 MutexLock mu(self, jni_on_load_lock_); in CheckOnLoadResult() local
144 MutexLock mu(self, jni_on_load_lock_); in SetResult() local
309 MutexLock mu(self, *Locks::jni_libraries_lock_); in FindNativeMethodInternal() local
339 MutexLock mu(self, *Locks::jni_libraries_lock_); in UnloadNativeLibraries() local
662 WriterMutexLock mu(self, *Locks::jni_globals_lock_); in AddGlobalRef() local
677 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in AddWeakGlobalRef() local
701 WriterMutexLock mu(self, *Locks::jni_globals_lock_); in DeleteGlobalRef() local
714 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in DeleteWeakGlobalRef() local
730 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in SetCheckJniEnabled() local
742 ReaderMutexLock mu(self, *Locks::jni_globals_lock_); in DumpForSigQuit() local
[all …]
/art/openjdkjvmti/
Dti_logging.cc47 art::MutexLock mu(art::Thread::Current(), tienv->last_error_mutex_); in GetLastError() local
67 art::MutexLock mu(art::Thread::Current(), tienv->last_error_mutex_); in ClearLastError() local

12345