Home
last modified time | relevance | path

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

123

/art/runtime/
Dthread_list.cc57 MutexLock mu(self, *Locks::thread_list_lock_); in ~ThreadList()
88 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
98 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpForSigQuit()
131 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads()
151 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
152 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in AssertThreadsAreSuspended()
209 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
210 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
255 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
263 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
[all …]
Dthread_pool.cc69 MutexLock mu(self, task_queue_lock_); in AddTask()
100 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
108 MutexLock mu(self, task_queue_lock_); in ~ThreadPool()
120 MutexLock mu(self, task_queue_lock_); in StartWorkers()
128 MutexLock mu(self, task_queue_lock_); in StopWorkers()
133 MutexLock mu(self, task_queue_lock_); in GetTask()
165 MutexLock mu(self, task_queue_lock_); in TryGetTask()
187 MutexLock mu(self, task_queue_lock_); in Wait()
198 MutexLock mu(self, task_queue_lock_); in GetTaskCount()
215 MutexLock mu(self, thread_pool->work_steal_lock_); in Run()
[all …]
Dbarrier.cc31 MutexLock mu(self, lock_); in Pass()
40 MutexLock mu(self, lock_); in Init()
45 MutexLock mu(self, lock_); in Increment()
61 MutexLock mu(self, lock_); in Increment()
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.cc37 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in Size()
42 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in StrongSize()
47 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in WeakSize()
52 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in DumpForSigQuit()
58 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in VisitRoots()
195 MutexLock mu(self, *Locks::intern_table_lock_); in AllowNewInterns()
202 MutexLock mu(self, *Locks::intern_table_lock_); in DisallowNewInterns()
208 MutexLock mu(self, *Locks::intern_table_lock_); in Insert()
287 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in ContainsWeak()
293 MutexLock mu(Thread::Current(), *Locks::intern_table_lock_); in SweepInternTableWeaks()
Dmonitor.cc138 MutexLock mu(self, monitor_lock_); // Uncontended mutex acquisition as monitor isn't yet public. in Install()
234 MutexLock mu(self, monitor_lock_); in Lock()
261MutexLock mu2(self, monitor_lock_); // Reacquire monitor_lock_ without mutator_lock_ for Wait. in Lock()
332 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in FailedUnlock()
384 MutexLock mu(self, monitor_lock_); in Unlock()
489 MutexLock mu(self, *self->GetWaitMutex()); in Wait()
527 MutexLock mu(self, *self->GetWaitMutex()); in Wait()
561 MutexLock mu(self, *self->GetWaitMutex()); in Wait()
573 MutexLock mu(self, monitor_lock_); in Notify()
586 MutexLock mu(self, *thread->GetWaitMutex()); in Notify()
[all …]
Dsignal_catcher.cc75 MutexLock mu(self, lock_); in SignalCatcher()
90 MutexLock mu(Thread::Current(), lock_); in SetHaltFlag()
95 MutexLock mu(Thread::Current(), lock_); in ShouldHalt()
199 MutexLock mu(self, signal_catcher->lock_); in Run()
Dtransaction.cc39 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction()
63 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteField32()
71 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteField64()
79 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldReference()
88 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteArray()
115 MutexLock mu(Thread::Current(), log_lock_); in LogInternedString()
123 MutexLock mu1(self, *Locks::intern_table_lock_); in Abort()
124 MutexLock mu2(self, log_lock_); in Abort()
159 MutexLock mu(Thread::Current(), log_lock_); in VisitRoots()
Dmonitor_pool.cc95 MutexLock mu(self, *Locks::allocated_monitor_ids_lock_); in CreateMonitorInPool()
117 MutexLock mu(self, *Locks::allocated_monitor_ids_lock_); in ReleaseMonitorToPool()
Dtrace.cc307 MutexLock mu(self, *Locks::trace_lock_); in RunSamplingThread()
316 MutexLock mu(self, *Locks::thread_list_lock_); in RunSamplingThread()
331 MutexLock mu(self, *Locks::trace_lock_); in Start()
372 MutexLock mu(self, *Locks::trace_lock_); in Start()
407 MutexLock mu(Thread::Current(), *Locks::trace_lock_); in Stop()
421 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in Stop()
452 MutexLock mu(Thread::Current(), *Locks::trace_lock_); in GetMethodTracingMode()
710 MutexLock mu(self, *Locks::thread_list_lock_); in DumpThreadList()
Dprofiler.cc149 MutexLock mu(self, *Locks::profiler_lock_); in ShuttingDown()
193 MutexLock mu(self, profiler->wait_lock_); in RunProfilerThread()
337 MutexLock mu(self, *Locks::profiler_lock_); in Start()
347 MutexLock mu(self, *Locks::profiler_lock_); in Start()
363 MutexLock trace_mu(Thread::Current(), *Locks::profiler_lock_); in Stop()
372 MutexLock profile_mu(Thread::Current(), profiler->wait_lock_); in Stop()
379 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in Stop()
489 MutexLock mu(Thread::Current(), lock_); in Put()
506 MutexLock mu(Thread::Current(), lock_); in PutStack()
Dmem_map.cc462 MutexLock mu(Thread::Current(), *Locks::mem_maps_lock_); in ~MemMap()
490 MutexLock mu(Thread::Current(), *Locks::mem_maps_lock_); in MemMap()
594 MutexLock mu(Thread::Current(), *Locks::mem_maps_lock_); in CheckNoGaps()
613 MutexLock mu(Thread::Current(), *Locks::mem_maps_lock_); in DumpMaps()
649 MutexLock mu(Thread::Current(), *Locks::mem_maps_lock_); in Init()
657 MutexLock mu(Thread::Current(), *Locks::mem_maps_lock_); in Shutdown()
/art/runtime/gc/space/
Dbump_pointer_space.cc78 MutexLock mu(Thread::Current(), block_lock_); in Clear()
96 MutexLock mu(Thread::Current(), block_lock_); in RevokeThreadLocalBuffers()
102 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers()
103 MutexLock mu2(self, *Locks::thread_list_lock_); in RevokeAllThreadLocalBuffers()
113 MutexLock mu(Thread::Current(), block_lock_); in AssertThreadLocalBuffersAreRevoked()
121 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked()
122 MutexLock mu2(self, *Locks::thread_list_lock_); in AssertAllThreadLocalBuffersAreRevoked()
158 MutexLock mu(Thread::Current(), block_lock_); in Walk()
212 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated()
213 MutexLock mu2(self, *Locks::thread_list_lock_); in GetBytesAllocated()
[all …]
Ddlmalloc_space.cc132 MutexLock mu(self, lock_); in AllocWithGrowth()
160 MutexLock mu(self, lock_); in Free()
189 MutexLock mu(self, lock_); in FreeList()
210 MutexLock mu(self, lock_); in FreeList()
238 MutexLock mu(Thread::Current(), lock_); in Trim()
249 MutexLock mu(Thread::Current(), lock_); in Walk()
255 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
260 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
265 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
278 MutexLock mu(Thread::Current(), lock_); in GetBytesAllocated()
[all …]
Drosalloc_space.cc150 MutexLock mu(self, lock_); in AllocWithGrowth()
180 MutexLock mu(self, lock_); in Free()
200 MutexLock mu(self, lock_); in FreeList()
239 MutexLock mu(Thread::Current(), lock_); in Trim()
256 MutexLock mu(Thread::Current(), lock_); in GetFootprint()
261 MutexLock mu(Thread::Current(), lock_); in GetFootprintLimit()
266 MutexLock mu(Thread::Current(), lock_); in SetFootprintLimit()
298 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in InspectAllRosAllocWithSuspendAll()
299 MutexLock mu2(self, *Locks::thread_list_lock_); in InspectAllRosAllocWithSuspendAll()
Dlarge_object_space.cc119 MutexLock mu(self, lock_); in Alloc()
142 MutexLock mu(self, lock_); in Free()
158 MutexLock mu(Thread::Current(), lock_); in AllocationSize()
176 MutexLock mu(Thread::Current(), lock_); in Walk()
190 MutexLock mu(self, lock_); in Contains()
314 MutexLock mu(Thread::Current(), lock_); in Walk()
340 MutexLock mu(self, lock_); in Free()
411 MutexLock mu(self, lock_); in Alloc()
465 MutexLock mu(Thread::Current(), const_cast<Mutex&>(lock_)); in Dump()
/art/runtime/jdwp/
Dobject_registry.cc54 MutexLock mu(soa.Self(), lock_); in InternalAdd()
92 MutexLock mu(self, lock_); in Contains()
114 MutexLock mu(self, lock_); in Clear()
134 MutexLock mu(self, lock_); in InternalGet()
148 MutexLock mu(self, lock_); in GetJObject()
157 MutexLock mu(self, lock_); in DisableCollection()
165 MutexLock mu(self, lock_); in EnableCollection()
195 MutexLock mu(self, lock_); in IsCollected()
209 MutexLock mu(self, lock_); in DisposeObject()
Djdwp_main.cc128 MutexLock mu(Thread::Current(), socket_lock_); in WritePacket()
137 MutexLock mu(Thread::Current(), socket_lock_); in WriteBufferedPacket()
257 MutexLock thread_start_locker(self, state->thread_start_lock_); in Create()
285 MutexLock attach_locker(self, state->attach_lock_); in Create()
319 MutexLock mu(Thread::Current(), event_list_lock_); in ResetState()
422 MutexLock locker(thread_, thread_start_lock_); in Run()
458 MutexLock mu(thread_, attach_lock_); in Run()
494 MutexLock mu(thread_, attach_lock_); in Run()
Djdwp_event.cc215 MutexLock mu(Thread::Current(), event_list_lock_); in RegisterEvent()
304 MutexLock mu(Thread::Current(), event_list_lock_); in UnregisterEventById()
331 MutexLock mu(Thread::Current(), event_list_lock_); in UnregisterAll()
659 MutexLock mu(self, event_thread_lock_); in SetWaitForEventThread()
690 MutexLock mu(self, event_thread_lock_); in ClearWaitForEventThread()
756 MutexLock mu(Thread::Current(), event_list_lock_); // probably don't need this here in PostVMStart()
867 MutexLock mu(Thread::Current(), event_list_lock_); in PostLocationEvent()
912 MutexLock mu(Thread::Current(), event_list_lock_); in PostLocationEvent()
951 MutexLock mu(Thread::Current(), event_list_lock_); in PostFieldEvent()
1012 MutexLock mu(Thread::Current(), event_list_lock_); in PostFieldEvent()
[all …]
/art/runtime/gc/
Dreference_processor.cc58 MutexLock mu(self, *Locks::reference_processor_lock_); in GetReferent()
101 MutexLock mu(self, *Locks::reference_processor_lock_); in StartPreservingReferences()
106 MutexLock mu(self, *Locks::reference_processor_lock_); in StopPreservingReferences()
122 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
170 MutexLock mu(self, *Locks::reference_processor_lock_); in ProcessReferences()
234 MutexLock mu(self, *Locks::reference_processor_lock_); in MakeCircularListIfUnenqueued()
245 MutexLock mu2(self, *Locks::reference_queue_finalizer_references_lock_); in MakeCircularListIfUnenqueued()
/art/runtime/native/
Djava_lang_Thread.cc42 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_isInterrupted()
63 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_nativeGetStatus()
103 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_nativeHoldsLock()
110 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_nativeInterrupt()
136 MutexLock mu(self, *Locks::thread_list_suspend_thread_lock_); in Thread_nativeSetName()
158 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_nativeSetPriority()
/art/runtime/base/
Dtiming_logger.cc50 MutexLock mu(Thread::Current(), lock_); in SetName()
58 MutexLock mu(Thread::Current(), lock_); in End()
63 MutexLock mu(Thread::Current(), lock_); in Reset()
70 MutexLock mu(Thread::Current(), lock_); in AddLogger()
82 MutexLock mu(Thread::Current(), lock_); in GetIterations()
87 MutexLock mu(Thread::Current(), lock_); in Dump()
Dmutex.h419 class SCOPED_LOCKABLE MutexLock {
421 explicit MutexLock(Thread* self, Mutex& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : self_(self), mu_(mu) { in MutexLock() function
425 ~MutexLock() UNLOCK_FUNCTION() { in UNLOCK_FUNCTION()
432 DISALLOW_COPY_AND_ASSIGN(MutexLock);
435 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_declaration_missing_variable_name) macro
/art/runtime/gc/allocator/
Drosalloc.cc458 MutexLock mu(self, lock_); in AllocLargeObject()
491 MutexLock mu(self, lock_); in FreeInternal()
538 MutexLock mu(self, lock_); in AllocRun()
659 MutexLock mu(self, *size_bracket_locks_[idx]); in AllocFromRun()
672 MutexLock mu(self, *size_bracket_locks_[idx]); in AllocFromRun()
727 MutexLock mu(self, *size_bracket_locks_[idx]); in AllocFromRun()
748 MutexLock mu(self, *size_bracket_locks_[idx]); in FreeFromRun()
788 MutexLock mu(self, lock_); in FreeFromRun()
1190 MutexLock mu(self, lock_); in BulkFree()
1198 MutexLock mu(self, lock_); in BulkFree()
[all …]
/art/runtime/arch/x86/
Dthread_x86.cc45 MutexLock mu(nullptr, *Locks::modify_ldt_lock_); in InitCpu()
140 MutexLock mu(this, *Locks::modify_ldt_lock_); in CleanupCpu()

123