Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 112) sorted by relevance

12345

/art/runtime/
Dlinear_alloc.cc27 MutexLock mu(self, lock_); in Realloc()
32 MutexLock mu(self, lock_); in Alloc()
37 MutexLock mu(self, lock_); in AllocAlign16()
42 MutexLock mu(Thread::Current(), lock_); in GetUsedMemory()
47 MutexLock mu(Thread::Current(), lock_); in GetArenaPool()
52 MutexLock mu(Thread::Current(), lock_); in Contains()
Dthread_list.cc97 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown()
126 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
175 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads()
217 MutexLock mu(self, *Locks::logging_lock_); in Run()
248 MutexLock mu(self, *Locks::thread_list_lock_); in Dump()
268 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
269 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in AssertThreadsAreSuspended()
322 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
323 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
382 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
[all …]
Dbarrier.cc39 MutexLock mu(self, *GetLock()); in Pass()
48 MutexLock mu(self, *GetLock()); in Init()
54 MutexLock mu(self, *GetLock()); in Increment()
74 MutexLock mu(self, *GetLock()); in Increment()
95 MutexLock mu(self, *GetLock()); in GetCount()
Dthread_pool.cc143 MutexLock mu(self, task_queue_lock_); in AddTask()
158 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks()
186 MutexLock mu(self, task_queue_lock_); in CreateThreads()
212 MutexLock mu(self, task_queue_lock_); in DeleteThreads()
226 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
237 MutexLock mu(self, task_queue_lock_); in StartWorkers()
245 MutexLock mu(self, task_queue_lock_); in StopWorkers()
250 MutexLock mu(self, task_queue_lock_); in GetTask()
282 MutexLock mu(self, task_queue_lock_); in TryGetTask()
305 MutexLock mu(self, task_queue_lock_); in Wait()
[all …]
Dintern_table.cc45 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in Size()
50 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in StrongSize()
55 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in WeakSize()
64 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in VisitRoots()
93 MutexLock mu(self, *Locks::intern_table_lock_); in LookupWeak()
98 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
109 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
122 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddNewTable()
183 MutexLock mu(self, *Locks::intern_table_lock_); in BroadcastForNewInterns()
191 MutexLock mu(self, *Locks::intern_table_lock_); in WaitUntilAccessible()
[all …]
Dtransaction.cc56 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction()
80 MutexLock mu(Thread::Current(), log_lock_); in Abort()
109 MutexLock mu(Thread::Current(), log_lock_); in IsAborted()
118 MutexLock mu(Thread::Current(), log_lock_); in GetAbortMessage()
124 MutexLock mu(self, log_lock_); in WriteConstraint()
143 MutexLock mu(self, log_lock_); in WriteValueConstraint()
160 MutexLock mu(self, log_lock_); in ReadConstraint()
174 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldBoolean()
185 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldByte()
196 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldChar()
[all …]
Dapp_info.cc57 MutexLock mu(Thread::Current(), update_mutex_); in RegisterAppInfo()
81 MutexLock mu(Thread::Current(), update_mutex_); in RegisterOdexStatus()
99 MutexLock mu(Thread::Current(), update_mutex_); in GetPrimaryApkOptimizationStatus()
114 MutexLock mu(Thread::Current(), rhs.update_mutex_); in operator <<()
Druntime_test.cc41 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in TEST_F()
55 MutexLock mu(Thread::Current(), *Locks::thread_suspend_count_lock_); in TEST_F()
Dsignal_catcher.cc82 MutexLock mu(self, lock_); in SignalCatcher()
97 MutexLock mu(Thread::Current(), lock_); in SetHaltFlag()
102 MutexLock mu(Thread::Current(), lock_); in ShouldHalt()
182 MutexLock mu(self, signal_catcher->lock_); in Run()
/art/runtime/gc/space/
Dbump_pointer_space.cc88 MutexLock mu(Thread::Current(), block_lock_); in Clear()
106 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers()
113 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers()
114 MutexLock mu2(self, *Locks::thread_list_lock_); in RevokeAllThreadLocalBuffers()
125 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked()
133 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked()
134 MutexLock mu2(self, *Locks::thread_list_lock_); in AssertAllThreadLocalBuffersAreRevoked()
174 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated()
175 MutexLock mu2(self, *Locks::thread_list_lock_); in GetBytesAllocated()
177 MutexLock mu3(Thread::Current(), block_lock_); in GetBytesAllocated()
[all …]
Ddlmalloc_space.cc172 MutexLock mu(self, lock_); in AllocWithGrowth()
227 MutexLock mu(self, lock_); in Free()
256 MutexLock mu(self, lock_); in FreeList()
277 MutexLock mu(self, lock_); in FreeList()
284 MutexLock mu(Thread::Current(), lock_); in Trim()
295 MutexLock mu(Thread::Current(), lock_); in Walk()
301 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
306 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
311 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
324 MutexLock mu(Thread::Current(), lock_); in GetBytesAllocated()
[all …]
Dlarge_object_space.cc151 MutexLock mu(self, lock_); in Alloc()
174 MutexLock mu(self, lock_); in IsZygoteLargeObject()
181 MutexLock mu(self, lock_); in SetAllLargeObjectsAsZygoteObjects()
192 MutexLock mu(self, lock_); in Free()
209 MutexLock mu(Thread::Current(), lock_); in AllocationSize()
231 MutexLock mu(Thread::Current(), lock_); in Walk()
240 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap()
252 MutexLock mu(self, lock_); in Contains()
396 MutexLock mu(Thread::Current(), lock_); in Walk()
414 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap()
[all …]
Dregion_space.cc152 MutexLock mu(Thread::Current(), region_lock_); in FromSpaceSize()
164 MutexLock mu(Thread::Current(), region_lock_); in UnevacFromSpaceSize()
176 MutexLock mu(Thread::Current(), region_lock_); in ToSpaceSize()
311 MutexLock mu(Thread::Current(), region_lock_); in ZeroLiveBytesForLargeObject()
340 MutexLock mu(Thread::Current(), region_lock_); in SetFromSpace()
439 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
520 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
728 MutexLock mu(Thread::Current(), region_lock_); in LogFragmentationAllocFailure()
774 MutexLock mu(Thread::Current(), region_lock_); in Clear()
801 MutexLock mu(Thread::Current(), region_lock_); in ClampGrowthLimit()
[all …]
Drosalloc_space.cc207 MutexLock mu(self, lock_); in AllocWithGrowth()
266 MutexLock mu(self, lock_); in Free()
286 MutexLock mu(self, lock_); in FreeList()
319 MutexLock mu(self, lock_); in Trim()
336 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
341 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
346 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
376 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in InspectAllRosAllocWithSuspendAll()
377 MutexLock mu2(self, *Locks::thread_list_lock_); in InspectAllRosAllocWithSuspendAll()
/art/runtime/gc/
Dtask_processor.cc43 MutexLock mu(self, lock_); in AddTask()
50 MutexLock mu(self, lock_); in GetTask()
80 MutexLock mu(self, lock_); in UpdateTargetRunTime()
102 MutexLock mu(Thread::Current(), lock_); in IsRunning()
107 MutexLock mu(Thread::Current(), lock_); in GetRunningThread()
112 MutexLock mu(self, lock_); in Stop()
119 MutexLock mu(self, lock_); in Start()
Dreference_processor.cc85 MutexLock mu(self, *Locks::reference_processor_lock_); in BroadcastForSlowPath()
102 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent()
141 MutexLock mu(self, *Locks::reference_processor_lock_); in StartPreservingReferences()
146 MutexLock mu(self, *Locks::reference_processor_lock_); in StopPreservingReferences()
160 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
219 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
323 MutexLock mu(self, *Locks::reference_processor_lock_); in ClearReferent()
350 MutexLock mu(self, *Locks::reference_processor_lock_); in MakeCircularListIfUnenqueued()
358 MutexLock mu2(self, *Locks::reference_queue_finalizer_references_lock_); in MakeCircularListIfUnenqueued()
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/runtime/base/
Dquasi_atomic.cc48 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexRead64()
53 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexWrite64()
59 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexCas64()
Dmessage_queue.h103 MutexLock lock{self, mutex_}; in SendMessage()
112 MutexLock lock{self, mutex_}; in SetTimeout()
121 MutexLock lock{self, mutex_}; in ReceiveMessage()
Dtiming_logger.cc50 MutexLock mu(Thread::Current(), *GetLock()); in SetName()
58 MutexLock mu(Thread::Current(), *GetLock()); in End()
63 MutexLock mu(Thread::Current(), *GetLock()); in Reset()
70 MutexLock mu(Thread::Current(), *GetLock()); in AddLogger()
82 MutexLock mu(Thread::Current(), *GetLock()); in GetIterations()
87 MutexLock mu(Thread::Current(), *GetLock()); in Dump()
/art/test/203-multi-checkpoint/
Dmulti_checkpoint.cc68 MutexLock tscl_mu(self, *Locks::thread_suspend_count_lock_); in Run()
80 MutexLock tll_mu(self, *Locks::thread_list_lock_); in Java_Main_pushCheckpoints()
83 MutexLock tscl_mu(self, *Locks::thread_suspend_count_lock_); in Java_Main_pushCheckpoints()
/art/runtime/jit/
Djit_code_cache.cc236 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in Create()
291 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in ContainsMethod()
314 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in GetJniStubCode()
331 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in GetSavedEntryPointOfPreCompiledMethod()
402 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in SweepRootTables()
468 MutexLock mu2(Thread::Current(), *Locks::cha_lock_); in FreeAllMethodHeaders()
514 MutexLock mu(self, *Locks::jit_lock_); in RemoveMethodsIn()
572 MutexLock mu(self, *Locks::jit_lock_); in WaitUntilInlineCacheAccessible()
580 MutexLock mu(self, *Locks::jit_lock_); in BroadcastForInlineCacheAccess()
631 MutexLock mu(self, *Locks::jit_lock_); in WaitForPotentialCollectionToCompleteRunnable()
[all …]
Dprofile_saver.cc112 MutexLock mu(self, *Locks::profiler_lock_); in NotifyStartupCompleted()
116 MutexLock mu2(self, instance_->wait_lock_); in NotifyStartupCompleted()
137 MutexLock mu(self, wait_lock_); in Run()
173 MutexLock mu(self, wait_lock_); in Run()
195 MutexLock mu(self, wait_lock_); in Run()
261 MutexLock mu(self, *Locks::profiler_lock_); in IsFirstSave()
284 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity()
304 MutexLock wait_mutex(Thread::Current(), wait_lock_); in NotifyJitActivityInternal()
765 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
795 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
[all …]
/art/openjdkjvmti/
Dalloc_manager.cc69 art::MutexLock mu(self, alloc_listener_mutex_); in PauseForAllocation()
145 art::MutexLock mu(self, alloc_listener_mutex_); in DecrListenerInstall()
155 art::MutexLock mu(self, alloc_listener_mutex_); in IncrListenerInstall()
213 art::MutexLock mu(self, alloc_listener_mutex_); in ResumeAllocations()
Dobject_tagging.cc61 art::MutexLock mu(art::Thread::Current(), lock_); in SendDelayedFreeEvents()
95 art::MutexLock mu(art::Thread::Current(), lock_); in HandleNullSweep()

12345