Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 109) 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()
135 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
184 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads()
226 MutexLock mu(self, *Locks::logging_lock_); in Run()
257 MutexLock mu(self, *Locks::thread_list_lock_); in Dump()
277 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
278 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in AssertThreadsAreSuspended()
331 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
332 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
391 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
[all …]
Dthread_pool.cc133 MutexLock mu(self, task_queue_lock_); in AddTask()
148 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks()
176 MutexLock mu(self, task_queue_lock_); in CreateThreads()
202 MutexLock mu(self, task_queue_lock_); in DeleteThreads()
216 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
227 MutexLock mu(self, task_queue_lock_); in StartWorkers()
235 MutexLock mu(self, task_queue_lock_); in StopWorkers()
240 MutexLock mu(self, task_queue_lock_); in GetTask()
272 MutexLock mu(self, task_queue_lock_); in TryGetTask()
295 MutexLock mu(self, task_queue_lock_); in Wait()
[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()
Dtransaction.cc55 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction()
79 MutexLock mu(Thread::Current(), log_lock_); in Abort()
108 MutexLock mu(Thread::Current(), log_lock_); in IsAborted()
117 MutexLock mu(Thread::Current(), log_lock_); in GetAbortMessage()
123 MutexLock mu(self, log_lock_); in WriteConstraint()
142 MutexLock mu(self, log_lock_); in WriteValueConstraint()
159 MutexLock mu(self, log_lock_); in ReadConstraint()
173 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldBoolean()
184 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldByte()
195 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldChar()
[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 …]
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.cc86 MutexLock mu(Thread::Current(), *unique_methods_lock_); in DecodeTraceMethod()
91 MutexLock mu(Thread::Current(), *unique_methods_lock_); in EncodeTraceMethod()
286 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread()
300 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread()
376 MutexLock mu(self, *Locks::trace_lock_); in Start()
412 MutexLock mu(self, *Locks::trace_lock_); in Start()
452 MutexLock mu(self, *Locks::trace_lock_); in StopTracing()
479 MutexLock mu(self, *Locks::thread_list_lock_); in StopTracing()
533 MutexLock mu(Thread::Current(), *Locks::trace_lock_); in GetMethodTracingMode()
620 MutexLock mu(Thread::Current(), *streaming_lock_); in FinishTracing()
[all …]
/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()
766 MutexLock mu(Thread::Current(), region_lock_); in Clear()
793 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()
Dtiming_logger.cc53 MutexLock mu(Thread::Current(), *GetLock()); in SetName()
61 MutexLock mu(Thread::Current(), *GetLock()); in End()
66 MutexLock mu(Thread::Current(), *GetLock()); in Reset()
73 MutexLock mu(Thread::Current(), *GetLock()); in AddLogger()
85 MutexLock mu(Thread::Current(), *GetLock()); in GetIterations()
90 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/
Dprofile_saver.cc116 MutexLock mu(self, *Locks::profiler_lock_); in NotifyStartupCompleted()
120 MutexLock mu2(self, instance_->wait_lock_); in NotifyStartupCompleted()
137 MutexLock mu(self, wait_lock_); in Run()
164 MutexLock mu(self, wait_lock_); in Run()
186 MutexLock mu(self, wait_lock_); in Run()
219 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity()
239 MutexLock wait_mutex(Thread::Current(), wait_lock_); in NotifyJitActivityInternal()
423 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
440 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
523 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ProcessProfilingInfo()
[all …]
Djit_code_cache.cc235 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in Create()
301 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in ContainsMethod()
324 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in GetJniStubCode()
357 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in GetSavedEntryPointOfPreCompiledMethod()
428 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in SweepRootTables()
493 MutexLock mu2(Thread::Current(), *Locks::cha_lock_); in FreeAllMethodHeaders()
535 MutexLock mu(self, *Locks::jit_lock_); in RemoveMethodsIn()
594 MutexLock mu(self, *Locks::jit_lock_); in WaitUntilInlineCacheAccessible()
602 MutexLock mu(self, *Locks::jit_lock_); in BroadcastForInlineCacheAccess()
650 MutexLock mu(self, *Locks::jit_lock_); in WaitForPotentialCollectionToCompleteRunnable()
[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()
/art/runtime/native/
Djava_lang_Thread.cc45 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_isInterrupted()
75 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_nativeGetStatus()
117 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_getNativeTid()
135 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_interrupt0()
181 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_setPriority0()

12345