Home
last modified time | relevance | path

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

1234

/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.cc98 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown()
136 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
186 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()
388 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
[all …]
Dbarrier.cc38 MutexLock mu(self, lock_); in Pass()
47 MutexLock mu(self, lock_); in Init()
53 MutexLock mu(self, lock_); in Increment()
73 MutexLock mu(self, lock_); in Increment()
94 MutexLock mu(self, lock_); in GetCount()
Dthread_pool.cc110 MutexLock mu(self, task_queue_lock_); in AddTask()
119 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks()
149 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
157 MutexLock mu(self, task_queue_lock_); in ~ThreadPool()
169 MutexLock mu(self, task_queue_lock_); in StartWorkers()
177 MutexLock mu(self, task_queue_lock_); in StopWorkers()
182 MutexLock mu(self, task_queue_lock_); in GetTask()
214 MutexLock mu(self, task_queue_lock_); in TryGetTask()
237 MutexLock mu(self, task_queue_lock_); in Wait()
248 MutexLock mu(self, task_queue_lock_); in GetTaskCount()
Dtransaction.cc52 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction()
76 MutexLock mu(Thread::Current(), log_lock_); in Abort()
105 MutexLock mu(Thread::Current(), log_lock_); in IsAborted()
114 MutexLock mu(Thread::Current(), log_lock_); in IsStrict()
119 MutexLock mu(Thread::Current(), log_lock_); in GetAbortMessage()
124 MutexLock mu(Thread::Current(), log_lock_); in WriteConstraint()
136 MutexLock mu(Thread::Current(), log_lock_); in ReadConstraint()
149 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldBoolean()
159 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldByte()
169 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldChar()
[all …]
Dintern_table.cc44 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in Size()
49 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in StrongSize()
54 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in WeakSize()
63 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in VisitRoots()
92 MutexLock mu(self, *Locks::intern_table_lock_); in LookupWeak()
97 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
108 MutexLock mu(self, *Locks::intern_table_lock_); in LookupStrong()
121 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddNewTable()
181 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in AddImagesStringsToTable()
194 MutexLock mu(self, *Locks::intern_table_lock_); in BroadcastForNewInterns()
[all …]
Dtrace.cc109 MutexLock mu(Thread::Current(), *unique_methods_lock_); in DecodeTraceMethod()
114 MutexLock mu(Thread::Current(), *unique_methods_lock_); in EncodeTraceMethod()
299 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread()
313 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread()
326 MutexLock mu(self, *Locks::trace_lock_); in Start()
370 MutexLock mu(self, *Locks::trace_lock_); in Start()
406 MutexLock mu(self, *Locks::trace_lock_); in StopTracing()
434 MutexLock mu(self, *Locks::thread_list_lock_); in StopTracing()
488 MutexLock mu(self, *Locks::trace_lock_); in Pause()
500 MutexLock mu(self, *Locks::trace_lock_); in Pause()
[all …]
/art/runtime/gc/space/
Dbump_pointer_space.cc79 MutexLock mu(Thread::Current(), block_lock_); in Clear()
97 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers()
104 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers()
105 MutexLock mu2(self, *Locks::thread_list_lock_); in RevokeAllThreadLocalBuffers()
116 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked()
124 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked()
125 MutexLock mu2(self, *Locks::thread_list_lock_); in AssertAllThreadLocalBuffersAreRevoked()
165 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated()
166 MutexLock mu2(self, *Locks::thread_list_lock_); in GetBytesAllocated()
168 MutexLock mu3(Thread::Current(), block_lock_); in GetBytesAllocated()
[all …]
Ddlmalloc_space.cc135 MutexLock mu(self, lock_); in AllocWithGrowth()
170 MutexLock mu(self, lock_); in Free()
199 MutexLock mu(self, lock_); in FreeList()
220 MutexLock mu(self, lock_); in FreeList()
227 MutexLock mu(Thread::Current(), lock_); in Trim()
238 MutexLock mu(Thread::Current(), lock_); in Walk()
244 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
249 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
254 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
267 MutexLock mu(Thread::Current(), lock_); in GetBytesAllocated()
[all …]
Dregion_space.cc125 MutexLock mu(Thread::Current(), region_lock_); in FromSpaceSize()
137 MutexLock mu(Thread::Current(), region_lock_); in UnevacFromSpaceSize()
149 MutexLock mu(Thread::Current(), region_lock_); in ToSpaceSize()
200 MutexLock mu(Thread::Current(), region_lock_); in SetFromSpace()
272 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
393 MutexLock mu(Thread::Current(), region_lock_); in LogFragmentationAllocFailure()
431 MutexLock mu(Thread::Current(), region_lock_); in Clear()
445 MutexLock mu(Thread::Current(), region_lock_); in ClampGrowthLimit()
468 MutexLock mu(Thread::Current(), region_lock_); in DumpRegionForObject()
473 MutexLock mu(Thread::Current(), region_lock_); in DumpRegions()
[all …]
Dlarge_object_space.cc50 MutexLock mu(Thread::Current(), lock_); in ~MemoryToolLargeObjectMapSpace()
148 MutexLock mu(self, lock_); in Alloc()
172 MutexLock mu(self, lock_); in IsZygoteLargeObject()
179 MutexLock mu(self, lock_); in SetAllLargeObjectsAsZygoteObjects()
186 MutexLock mu(self, lock_); in Free()
205 MutexLock mu(Thread::Current(), lock_); in AllocationSize()
227 MutexLock mu(Thread::Current(), lock_); in Walk()
241 MutexLock mu(self, lock_); in Contains()
379 MutexLock mu(Thread::Current(), lock_); in Walk()
405 MutexLock mu(self, lock_); in Free()
[all …]
Drosalloc_space.cc161 MutexLock mu(self, lock_); in AllocWithGrowth()
199 MutexLock mu(self, lock_); in Free()
219 MutexLock mu(self, lock_); in FreeList()
252 MutexLock mu(self, lock_); in Trim()
269 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
274 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
279 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
309 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in InspectAllRosAllocWithSuspendAll()
310 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.cc60 MutexLock mu(self, *Locks::reference_processor_lock_); in BroadcastForSlowPath()
77 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent()
116 MutexLock mu(self, *Locks::reference_processor_lock_); in StartPreservingReferences()
121 MutexLock mu(self, *Locks::reference_processor_lock_); in StopPreservingReferences()
135 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
194 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
295 MutexLock mu(self, *Locks::reference_processor_lock_); in ClearReferent()
322 MutexLock mu(self, *Locks::reference_processor_lock_); in MakeCircularListIfUnenqueued()
330 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.cc52 MutexLock mu(Thread::Current(), lock_); in SetName()
60 MutexLock mu(Thread::Current(), lock_); in End()
65 MutexLock mu(Thread::Current(), lock_); in Reset()
72 MutexLock mu(Thread::Current(), lock_); in AddLogger()
84 MutexLock mu(Thread::Current(), lock_); in GetIterations()
89 MutexLock mu(Thread::Current(), lock_); 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.cc318 MutexLock mu(Thread::Current(), lock_); in ContainsMethod()
338 MutexLock mu(Thread::Current(), lock_); in GetJniStubCode()
534 MutexLock mu(Thread::Current(), lock_); in SweepRootTables()
577 MutexLock mu(Thread::Current(), *Locks::native_debug_interface_lock_); in FreeCode()
588 MutexLock mu(Thread::Current(), *Locks::cha_lock_); in FreeAllMethodHeaders()
597 MutexLock mu(Thread::Current(), lock_); in FreeAllMethodHeaders()
612 MutexLock mu(self, lock_); in RemoveMethodsIn()
671 MutexLock mu(self, lock_); in WaitUntilInlineCacheAccessible()
679 MutexLock mu(self, lock_); in BroadcastForInlineCacheAccess()
753 MutexLock mu(self, lock_); in CommitCodeInternal()
[all …]
Dprofile_saver.cc116 MutexLock mu(self, wait_lock_); in Run()
140 MutexLock mu(self, wait_lock_); in Run()
162 MutexLock mu(self, wait_lock_); in Run()
195 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity()
215 MutexLock wait_mutex(Thread::Current(), wait_lock_); in NotifyJitActivityInternal()
399 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
413 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
488 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ProcessProfilingInfo()
664 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in Start()
726 MutexLock profiler_mutex(Thread::Current(), *Locks::profiler_lock_); in Stop()
[all …]
/art/runtime/jdwp/
Dobject_registry.cc97 MutexLock mu(soa.Self(), lock_); in InternalAdd()
161 MutexLock mu(self, lock_); in Clear()
181 MutexLock mu(self, lock_); in InternalGet()
197 MutexLock mu(self, lock_); in GetJObject()
206 MutexLock mu(self, lock_); in DisableCollection()
214 MutexLock mu(self, lock_); in EnableCollection()
244 MutexLock mu(self, lock_); in IsCollected()
258 MutexLock mu(self, lock_); in DisposeObject()
Djdwp_adb.cc100 MutexLock mu(Thread::Current(), state_lock_); in Shutdown()
125 MutexLock mu(Thread::Current(), state_lock_); in IsDown()
130 MutexLock mu(Thread::Current(), state_lock_); in ControlSock()
198 MutexLock mu(Thread::Current(), state_lock_); in ReceiveClientFd()
238 MutexLock mu(Thread::Current(), state_lock_); in Accept()
306 MutexLock mu(Thread::Current(), state_lock_); in Accept()
Djdwp_main.cc251 MutexLock mu(Thread::Current(), socket_lock_); in WritePacket()
259 MutexLock mu(Thread::Current(), socket_lock_); in WriteBufferedPacket()
386 MutexLock thread_start_locker(self, state->thread_start_lock_); in Create()
414 MutexLock attach_locker(self, state->attach_lock_); in Create()
448 MutexLock mu(Thread::Current(), event_list_lock_); in ResetState()
473 MutexLock mu(self, shutdown_lock_); in ~JdwpState()
513 MutexLock mu(self, shutdown_lock_); in HandlePacket()
542 MutexLock mu(self, shutdown_lock_); in HandlePacket()
576 MutexLock locker(thread_, thread_start_lock_); in Run()
612 MutexLock mu(thread_, attach_lock_); in Run()
[all …]
/art/openjdkjvmti/
Dti_thread.cc209 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in GetThreadInfo()
331 art::MutexLock tscl_mu(art::Thread::Current(), *art::Locks::thread_suspend_count_lock_); in GetNativeThreadState()
492 art::MutexLock tscl_mu(self, *art::Locks::thread_suspend_count_lock_); in WouldSuspendForUserCodeLocked()
498 art::MutexLock ucsl_mu(self, *art::Locks::user_code_suspension_lock_); in WouldSuspendForUserCode()
516 art::MutexLock ucsl_mu(self, *art::Locks::user_code_suspension_lock_); in GetThreadState()
523 art::MutexLock tll_mu(self, *art::Locks::thread_list_lock_); in GetThreadState()
587 art::MutexLock mu(current, *art::Locks::thread_list_lock_); in GetAllThreads()
642 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in RemoveEnvironment()
650 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in SetThreadLocalStorage()
677 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in GetThreadLocalStorage()
[all …]
/art/runtime/gc/collector/
Dgarbage_collector.cc83 MutexLock mu(Thread::Current(), pause_histogram_lock_); in ResetCumulativeStatistics()
114 MutexLock mu(self, pause_histogram_lock_); in Run()
158 MutexLock mu(Thread::Current(), pause_histogram_lock_); in ResetMeasurements()
209 MutexLock mu(Thread::Current(), pause_histogram_lock_); in GetTotalPausedTimeNs()
225 MutexLock mu(Thread::Current(), pause_histogram_lock_); in DumpPerformanceInfo()

1234