Home
last modified time | relevance | path

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

12345

/art/runtime/gc/space/
Dbump_pointer_space.cc92 MutexLock mu(Thread::Current(), block_lock_); in Clear()
105 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers()
112 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers()
113 MutexLock mu2(self, *Locks::thread_list_lock_); in RevokeAllThreadLocalBuffers()
124 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked()
132 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked()
133 MutexLock mu2(self, *Locks::thread_list_lock_); in AssertAllThreadLocalBuffersAreRevoked()
169 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated()
170 MutexLock mu2(self, *Locks::thread_list_lock_); in GetBytesAllocated()
172 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()
292 MutexLock mu(Thread::Current(), region_lock_); in ZeroLiveBytesForLargeObject()
321 MutexLock mu(Thread::Current(), region_lock_); in SetFromSpace()
420 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
501 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
709 MutexLock mu(Thread::Current(), region_lock_); in LogFragmentationAllocFailure()
764 MutexLock mu(Thread::Current(), region_lock_); in Clear()
791 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/
Dthread_list.cc102 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown()
130 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
179 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads()
219 MutexLock mu(self, lock_); in Run()
229 MutexLock mu(self, lock_); in Dump()
262 MutexLock mu(self, *Locks::thread_list_lock_); in Dump()
283 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
284 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in AssertThreadsAreSuspended()
337 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
338 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
[all …]
Dbarrier.cc39 MutexLock mu(self, *GetLock()); in Pass()
44 MutexLock mu(self, *GetLock()); in IncrementNoWait()
53 MutexLock mu(self, *GetLock()); in Init()
59 MutexLock mu(self, *GetLock()); in Increment()
79 MutexLock mu(self, *GetLock()); in Increment()
100 MutexLock mu(self, *GetLock()); in GetCount()
Dthread_pool.cc150 MutexLock mu(self, task_queue_lock_); in AddTask()
165 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks()
193 MutexLock mu(self, task_queue_lock_); in CreateThreads()
219 MutexLock mu(self, task_queue_lock_); in DeleteThreads()
233 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
244 MutexLock mu(self, task_queue_lock_); in StartWorkers()
252 MutexLock mu(self, task_queue_lock_); in StopWorkers()
257 MutexLock mu(self, task_queue_lock_); in HasStarted()
262 MutexLock mu(self, task_queue_lock_); in GetTask()
294 MutexLock mu(self, task_queue_lock_); in TryGetTask()
[all …]
Dlinear_alloc-inl.h44 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()
Dapp_info.cc57 MutexLock mu(Thread::Current(), update_mutex_); in RegisterAppInfo()
81 MutexLock mu(Thread::Current(), update_mutex_); in RegisterOdexStatus()
97 MutexLock mu(Thread::Current(), update_mutex_); in HasRegisteredAppInfo()
105 MutexLock mu(Thread::Current(), update_mutex_); in GetPrimaryApkOptimizationStatus()
120 MutexLock mu(Thread::Current(), update_mutex_); in GetRegisteredCodeType()
127 MutexLock mu(Thread::Current(), rhs.update_mutex_); in operator <<()
147 MutexLock mu(Thread::Current(), update_mutex_); in GetPrimaryApkReferenceProfile()
Dintern_table.cc46 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in Size()
51 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in StrongSize()
56 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in WeakSize()
65 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in VisitRoots()
109 MutexLock mu(self, *Locks::intern_table_lock_); in LookupWeak()
117 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
125 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
144 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddNewTable()
184 MutexLock mu(self, *Locks::intern_table_lock_); in BroadcastForNewInterns()
192 MutexLock mu(self, *Locks::intern_table_lock_); in WaitUntilAccessible()
[all …]
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()
Dtrace.cc399 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread()
413 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread()
489 MutexLock mu(self, *Locks::trace_lock_); in Start()
524 MutexLock mu(self, *Locks::trace_lock_); in Start()
598 MutexLock mu(self, *Locks::trace_lock_); in StopTracing()
627 MutexLock mu(self, *Locks::thread_list_lock_); in StopTracing()
643 MutexLock tl_lock(Thread::Current(), *Locks::thread_list_lock_); in StopTracing()
656 MutexLock mu(self, *Locks::trace_lock_); in StopTracing()
689 MutexLock mu(self, *Locks::trace_lock_); in FlushThreadBuffer()
710 MutexLock mu(Thread::Current(), *Locks::trace_lock_); in GetMethodTracingMode()
[all …]
/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.cc86 MutexLock mu(self, *Locks::reference_processor_lock_); in BroadcastForSlowPath()
117 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent()
193 MutexLock mu(self, *Locks::reference_processor_lock_); in Setup()
212 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
240 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
303 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
405 MutexLock mu(self, *Locks::reference_processor_lock_); in ClearReferent()
432 MutexLock mu(self, *Locks::reference_processor_lock_); in MakeCircularListIfUnenqueued()
440 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.cc48 MutexLock mu(Thread::Current(), *GetLock()); in SetName()
56 MutexLock mu(Thread::Current(), *GetLock()); in End()
61 MutexLock mu(Thread::Current(), *GetLock()); in Reset()
68 MutexLock mu(Thread::Current(), *GetLock()); in AddLogger()
80 MutexLock mu(Thread::Current(), *GetLock()); in GetIterations()
85 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.cc226 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in Create()
297 MutexLock mu(self, *Locks::jit_lock_); in ContainsMethod()
322 MutexLock mu(self, *Locks::jit_lock_); in GetJniStubCode()
341 MutexLock mu(self, *Locks::jit_lock_); in GetSavedEntryPointOfPreCompiledMethod()
414 MutexLock mu(self, *Locks::jit_lock_); in SweepRootTables()
486 MutexLock mu2(Thread::Current(), *Locks::cha_lock_); in FreeAllMethodHeaders()
533 MutexLock mu(self, *Locks::jit_lock_); in RemoveMethodsIn()
591 MutexLock mu(self, *Locks::jit_lock_); in WaitUntilInlineCacheAccessible()
599 MutexLock mu(self, *Locks::jit_lock_); in BroadcastForInlineCacheAccess()
648 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()
172 MutexLock mu(self, wait_lock_); in Run()
194 MutexLock mu(self, wait_lock_); in Run()
260 MutexLock mu(self, *Locks::profiler_lock_); in IsFirstSave()
283 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity()
303 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