Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 82) 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.cc97 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown()
135 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
185 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads()
221 MutexLock mu(self, *Locks::logging_lock_); in Run()
252 MutexLock mu(self, *Locks::thread_list_lock_); in Dump()
272 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
273 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in AssertThreadsAreSuspended()
319 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
320 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
377 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
[all …]
Dbarrier.cc33 MutexLock mu(self, lock_); in Pass()
42 MutexLock mu(self, lock_); in Init()
47 MutexLock mu(self, lock_); in Increment()
63 MutexLock mu(self, lock_); in Increment()
84 MutexLock mu(self, lock_); in GetCount()
Dthread_pool.cc106 MutexLock mu(self, task_queue_lock_); in AddTask()
115 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks()
145 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
153 MutexLock mu(self, task_queue_lock_); in ~ThreadPool()
165 MutexLock mu(self, task_queue_lock_); in StartWorkers()
173 MutexLock mu(self, task_queue_lock_); in StopWorkers()
178 MutexLock mu(self, task_queue_lock_); in GetTask()
210 MutexLock mu(self, task_queue_lock_); in TryGetTask()
233 MutexLock mu(self, task_queue_lock_); in Wait()
244 MutexLock mu(self, task_queue_lock_); in GetTaskCount()
Datomic.cc47 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexRead64()
52 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexWrite64()
58 MutexLock mu(Thread::Current(), *GetSwapMutex(addr)); in SwapMutexCas64()
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 …]
Dtransaction.cc43 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction()
67 MutexLock mu(Thread::Current(), log_lock_); in Abort()
96 MutexLock mu(Thread::Current(), log_lock_); in IsAborted()
101 MutexLock mu(Thread::Current(), log_lock_); in GetAbortMessage()
110 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldBoolean()
120 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldByte()
130 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldChar()
141 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldShort()
152 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteField32()
162 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteField64()
[all …]
Dmonitor.cc139 MutexLock mu(self, monitor_lock_); // Uncontended mutex acquisition as monitor isn't yet public. in Install()
345 MutexLock mu(self, monitor_lock_); in TryLock()
350 MutexLock mu(self, monitor_lock_); in Lock()
398 MutexLock mu2(self, monitor_lock_); in Lock()
429 MutexLock mu2(Thread::Current(), *Locks::thread_list_lock_); in Lock()
551 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in FailedUnlock()
613 MutexLock mu(self, monitor_lock_); in Unlock()
700 MutexLock mu(self, *self->GetWaitMutex()); in Wait()
732 MutexLock mu(self, *self->GetWaitMutex()); in Wait()
777 MutexLock mu(self, monitor_lock_); in Notify()
[all …]
Dtrace.cc108 MutexLock mu(Thread::Current(), *unique_methods_lock_); in DecodeTraceMethod()
113 MutexLock mu(Thread::Current(), *unique_methods_lock_); in EncodeTraceMethod()
298 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread()
306 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread()
319 MutexLock mu(self, *Locks::trace_lock_); in Start()
363 MutexLock mu(self, *Locks::trace_lock_); in Start()
399 MutexLock mu(self, *Locks::trace_lock_); in StopTracing()
428 MutexLock mu(self, *Locks::thread_list_lock_); in StopTracing()
483 MutexLock mu(self, *Locks::trace_lock_); in Pause()
495 MutexLock mu(self, *Locks::trace_lock_); in Pause()
[all …]
Djava_vm_ext.cc109 MutexLock mu(self, jni_on_load_lock_); in CheckOnLoadResult()
132 MutexLock mu(self, jni_on_load_lock_); in SetResult()
282 MutexLock mu(self, *Locks::jni_libraries_lock_); in FindNativeMethodInternal()
312 MutexLock mu(self, *Locks::jni_libraries_lock_); in UnloadNativeLibraries()
599 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in AddWeakGlobalRef()
628 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in DeleteWeakGlobalRef()
644 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in SetCheckJniEnabled()
660 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in DumpForSigQuit()
668 MutexLock mu(self, *Locks::jni_libraries_lock_); in DumpForSigQuit()
676 MutexLock mu(self, *Locks::jni_weak_globals_lock_); in DisallowNewWeakGlobals()
[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.cc134 MutexLock mu(self, lock_); in AllocWithGrowth()
169 MutexLock mu(self, lock_); in Free()
198 MutexLock mu(self, lock_); in FreeList()
219 MutexLock mu(self, lock_); in FreeList()
226 MutexLock mu(Thread::Current(), lock_); in Trim()
237 MutexLock mu(Thread::Current(), lock_); in Walk()
243 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
248 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
253 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
266 MutexLock mu(Thread::Current(), lock_); in GetBytesAllocated()
[all …]
Dregion_space.cc123 MutexLock mu(Thread::Current(), region_lock_); in FromSpaceSize()
135 MutexLock mu(Thread::Current(), region_lock_); in UnevacFromSpaceSize()
147 MutexLock mu(Thread::Current(), region_lock_); in ToSpaceSize()
198 MutexLock mu(Thread::Current(), region_lock_); in SetFromSpace()
266 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
358 MutexLock mu(Thread::Current(), region_lock_); in LogFragmentationAllocFailure()
396 MutexLock mu(Thread::Current(), region_lock_); in Clear()
417 MutexLock mu(Thread::Current(), region_lock_); in FreeLarge()
439 MutexLock mu(Thread::Current(), region_lock_); in DumpRegions()
446 MutexLock mu(Thread::Current(), region_lock_); in DumpNonFreeRegions()
[all …]
Dlarge_object_space.cc48 MutexLock mu(Thread::Current(), lock_); in ~MemoryToolLargeObjectMapSpace()
146 MutexLock mu(self, lock_); in Alloc()
170 MutexLock mu(self, lock_); in IsZygoteLargeObject()
177 MutexLock mu(self, lock_); in SetAllLargeObjectsAsZygoteObjects()
184 MutexLock mu(self, lock_); in Free()
203 MutexLock mu(Thread::Current(), lock_); in AllocationSize()
225 MutexLock mu(Thread::Current(), lock_); in Walk()
239 MutexLock mu(self, lock_); in Contains()
377 MutexLock mu(Thread::Current(), lock_); in Walk()
403 MutexLock mu(self, lock_); in Free()
[all …]
Drosalloc_space.cc160 MutexLock mu(self, lock_); in AllocWithGrowth()
198 MutexLock mu(self, lock_); in Free()
218 MutexLock mu(self, lock_); in FreeList()
251 MutexLock mu(self, lock_); in Trim()
268 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
273 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
278 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
308 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in InspectAllRosAllocWithSuspendAll()
309 MutexLock mu2(self, *Locks::thread_list_lock_); in InspectAllRosAllocWithSuspendAll()
/art/runtime/gc/
Dtask_processor.cc38 MutexLock mu(self, *lock_); in AddTask()
45 MutexLock mu(self, *lock_); in GetTask()
75 MutexLock mu(self, *lock_); in UpdateTargetRunTime()
97 MutexLock mu(Thread::Current(), *lock_); in IsRunning()
102 MutexLock mu(Thread::Current(), *lock_); in GetRunningThread()
107 MutexLock mu(self, *lock_); in Stop()
114 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/jit/
Djit_code_cache.cc190 MutexLock mu(Thread::Current(), lock_); in ContainsMethod()
373 MutexLock mu(Thread::Current(), lock_); in SweepRootTables()
424 MutexLock mu(Thread::Current(), *Locks::cha_lock_); in FreeAllMethodHeaders()
433 MutexLock mu(Thread::Current(), lock_); in FreeAllMethodHeaders()
448 MutexLock mu(self, lock_); in RemoveMethodsIn()
497 MutexLock mu(self, lock_); in WaitUntilInlineCacheAccessible()
505 MutexLock mu(self, lock_); in BroadcastForInlineCacheAccess()
574 MutexLock mu(self, lock_); in CommitCodeInternal()
614 MutexLock cha_mu(self, *Locks::cha_lock_); in CommitCodeInternal()
642 MutexLock mu(self, lock_); in CommitCodeInternal()
[all …]
Dprofile_saver.cc114 MutexLock mu(self, wait_lock_); in Run()
133 MutexLock mu(self, wait_lock_); in Run()
148 MutexLock mu(self, wait_lock_); in Run()
181 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity()
201 MutexLock wait_mutex(Thread::Current(), wait_lock_); in NotifyJitActivityInternal()
385 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
399 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
471 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ProcessProfilingInfo()
627 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in Start()
689 MutexLock profiler_mutex(Thread::Current(), *Locks::profiler_lock_); in Stop()
[all …]
Ddebugger_interface.cc120 MutexLock mu(self, g_jit_debug_mutex); in CreateJITCodeEntry()
126 MutexLock mu(self, g_jit_debug_mutex); in DeleteJITCodeEntry()
136 MutexLock mu(self, g_jit_debug_mutex); in CreateJITCodeEntryForAddress()
145 MutexLock mu(self, g_jit_debug_mutex); in DeleteJITCodeEntryForAddress()
/art/runtime/jdwp/
Djdwp_main.cc138 MutexLock mu(Thread::Current(), socket_lock_); in WritePacket()
146 MutexLock mu(Thread::Current(), socket_lock_); in WriteBufferedPacket()
273 MutexLock thread_start_locker(self, state->thread_start_lock_); in Create()
301 MutexLock attach_locker(self, state->attach_lock_); in Create()
335 MutexLock mu(Thread::Current(), event_list_lock_); in ResetState()
360 MutexLock mu(self, shutdown_lock_); in ~JdwpState()
400 MutexLock mu(self, shutdown_lock_); in HandlePacket()
429 MutexLock mu(self, shutdown_lock_); in HandlePacket()
463 MutexLock locker(thread_, thread_start_lock_); in Run()
499 MutexLock mu(thread_, attach_lock_); in Run()
[all …]
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.cc101 MutexLock mu(Thread::Current(), state_lock_); in Shutdown()
126 MutexLock mu(Thread::Current(), state_lock_); in IsDown()
131 MutexLock mu(Thread::Current(), state_lock_); in ControlSock()
199 MutexLock mu(Thread::Current(), state_lock_); in ReceiveClientFd()
240 MutexLock mu(Thread::Current(), state_lock_); in Accept()
309 MutexLock mu(Thread::Current(), state_lock_); in Accept()
/art/runtime/base/
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()

1234