Home
last modified time | relevance | path

Searched refs:MutexLock (Results 1 – 25 of 99) 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()
228 MutexLock mu(self, *Locks::logging_lock_); in Run()
259 MutexLock mu(self, *Locks::thread_list_lock_); in Dump()
279 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
280 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in AssertThreadsAreSuspended()
333 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
334 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
390 MutexLock mu2(self, *Locks::thread_suspend_count_lock_); in RunCheckpoint()
[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()
Dthread_pool.cc114 MutexLock mu(self, task_queue_lock_); in AddTask()
123 MutexLock mu(self, task_queue_lock_); in RemoveAllTasks()
151 MutexLock mu(self, task_queue_lock_); in CreateThreads()
177 MutexLock mu(self, task_queue_lock_); in DeleteThreads()
191 MutexLock mu(Thread::Current(), task_queue_lock_); in SetMaxActiveWorkers()
201 MutexLock mu(self, task_queue_lock_); in StartWorkers()
209 MutexLock mu(self, task_queue_lock_); in StopWorkers()
214 MutexLock mu(self, task_queue_lock_); in GetTask()
246 MutexLock mu(self, task_queue_lock_); in TryGetTask()
269 MutexLock mu(self, task_queue_lock_); in Wait()
[all …]
Druntime_test.cc38 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in TEST_F()
52 MutexLock mu(Thread::Current(), *Locks::thread_suspend_count_lock_); in TEST_F()
Dtransaction.cc53 MutexLock mu(Thread::Current(), log_lock_); in ~Transaction()
77 MutexLock mu(Thread::Current(), log_lock_); in Abort()
106 MutexLock mu(Thread::Current(), log_lock_); in IsAborted()
115 MutexLock mu(Thread::Current(), log_lock_); in IsStrict()
120 MutexLock mu(Thread::Current(), log_lock_); in GetAbortMessage()
125 MutexLock mu(Thread::Current(), log_lock_); in WriteConstraint()
137 MutexLock mu(Thread::Current(), log_lock_); in ReadConstraint()
150 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldBoolean()
160 MutexLock mu(Thread::Current(), log_lock_); in RecordWriteFieldByte()
170 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 …]
Dsignal_catcher.cc81 MutexLock mu(self, lock_); in SignalCatcher()
96 MutexLock mu(Thread::Current(), lock_); in SetHaltFlag()
101 MutexLock mu(Thread::Current(), lock_); in ShouldHalt()
181 MutexLock mu(self, signal_catcher->lock_); in Run()
/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.cc150 MutexLock mu(self, lock_); in Alloc()
173 MutexLock mu(self, lock_); in IsZygoteLargeObject()
180 MutexLock mu(self, lock_); in SetAllLargeObjectsAsZygoteObjects()
187 MutexLock mu(self, lock_); in Free()
204 MutexLock mu(Thread::Current(), lock_); in AllocationSize()
226 MutexLock mu(Thread::Current(), lock_); in Walk()
235 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap()
247 MutexLock mu(self, lock_); in Contains()
391 MutexLock mu(Thread::Current(), lock_); in Walk()
409 MutexLock mu(Thread::Current(), lock_); in ForEachMemMap()
[all …]
Dregion_space.cc151 MutexLock mu(Thread::Current(), region_lock_); in FromSpaceSize()
163 MutexLock mu(Thread::Current(), region_lock_); in UnevacFromSpaceSize()
175 MutexLock mu(Thread::Current(), region_lock_); in ToSpaceSize()
310 MutexLock mu(Thread::Current(), region_lock_); in ZeroLiveBytesForLargeObject()
339 MutexLock mu(Thread::Current(), region_lock_); in SetFromSpace()
434 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
510 MutexLock mu(Thread::Current(), region_lock_); in ClearFromSpace()
718 MutexLock mu(Thread::Current(), region_lock_); in LogFragmentationAllocFailure()
756 MutexLock mu(Thread::Current(), region_lock_); in Clear()
783 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/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.cc97 MutexLock mu(Thread::Current(), state_lock_); in Shutdown()
122 MutexLock mu(Thread::Current(), state_lock_); in IsDown()
127 MutexLock mu(Thread::Current(), state_lock_); in ControlSock()
195 MutexLock mu(Thread::Current(), state_lock_); in ReceiveClientFd()
235 MutexLock mu(Thread::Current(), state_lock_); in Accept()
303 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/runtime/jit/
Dprofile_saver.cc114 MutexLock mu(self, *Locks::profiler_lock_); in NotifyStartupCompleted()
118 MutexLock mu2(self, instance_->wait_lock_); in NotifyStartupCompleted()
131 MutexLock mu(self, wait_lock_); in Run()
158 MutexLock mu(self, wait_lock_); in Run()
180 MutexLock mu(self, wait_lock_); in Run()
213 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in NotifyJitActivity()
233 MutexLock wait_mutex(Thread::Current(), wait_lock_); in NotifyJitActivityInternal()
417 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
431 MutexLock mu(self, *Locks::profiler_lock_); in FetchAndCacheResolvedClassesAndMethods()
514 MutexLock mu(Thread::Current(), *Locks::profiler_lock_); in ProcessProfilingInfo()
[all …]
/art/openjdkjvmti/
Dti_logging.cc47 art::MutexLock mu(art::Thread::Current(), tienv->last_error_mutex_); in GetLastError()
67 art::MutexLock mu(art::Thread::Current(), tienv->last_error_mutex_); in ClearLastError()
Dobject_tagging.cc61 art::MutexLock mu(art::Thread::Current(), lock_); in SendDelayedFreeEvents()
95 art::MutexLock mu(art::Thread::Current(), lock_); in HandleNullSweep()

1234