Home
last modified time | relevance | path

Searched refs:runtime_shutdown_lock_ (Results 1 – 20 of 20) sorted by relevance

/art/runtime/entrypoints/quick/
Dquick_alloc_entrypoints.h36 REQUIRES(Locks::mutator_lock_, Locks::runtime_shutdown_lock_);
39 REQUIRES(Locks::mutator_lock_, Locks::runtime_shutdown_lock_);
/art/runtime/gc/space/
Dbump_pointer_space.h114 REQUIRES(!Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_, !block_lock_);
117 REQUIRES(!Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_, !block_lock_);
120 REQUIRES(!*Locks::runtime_shutdown_lock_, !*Locks::thread_list_lock_, !block_lock_);
122 REQUIRES(!*Locks::runtime_shutdown_lock_, !*Locks::thread_list_lock_, !block_lock_);
Dbump_pointer_space.cc113 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers()
133 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked()
174 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetBytesAllocated()
192 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in GetObjectsAllocated()
Drosalloc_space.h190 REQUIRES(!Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_);
194 REQUIRES(!Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_);
Dregion_space.h146 REQUIRES(!Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_, !region_lock_);
149 REQUIRES(!Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_, !region_lock_);
Drosalloc_space.cc376 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in InspectAllRosAllocWithSuspendAll()
Dregion_space.cc876 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers()
894 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked()
/art/runtime/
Druntime.h205 bool IsShuttingDownLocked() const REQUIRES(Locks::runtime_shutdown_lock_) { in IsShuttingDownLocked()
209 size_t NumberOfThreadsBeingBorn() const REQUIRES(Locks::runtime_shutdown_lock_) { in NumberOfThreadsBeingBorn()
213 void StartThreadBirth() REQUIRES(Locks::runtime_shutdown_lock_) { in StartThreadBirth()
217 void EndThreadBirth() REQUIRES(Locks::runtime_shutdown_lock_);
1016 size_t threads_being_born_ GUARDED_BY(Locks::runtime_shutdown_lock_);
1019 std::unique_ptr<ConditionVariable> shutdown_cond_ GUARDED_BY(Locks::runtime_shutdown_lock_);
1022 bool shutting_down_ GUARDED_BY(Locks::runtime_shutdown_lock_);
1025 bool shutting_down_started_ GUARDED_BY(Locks::runtime_shutdown_lock_);
Dinstrumentation.h286 !Locks::runtime_shutdown_lock_);
289 !Locks::runtime_shutdown_lock_);
290 void ResetQuickAllocEntryPoints() REQUIRES(Locks::runtime_shutdown_lock_);
Dthread_list.h153 REQUIRES(Locks::runtime_shutdown_lock_)
Dthread_list.cc1305 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in WaitForOtherNonDaemonThreadsToExit()
Dthread.h1364 REQUIRES(Locks::runtime_shutdown_lock_);
/art/runtime/base/
Dlocks.h231 static Mutex* runtime_shutdown_lock_ ACQUIRED_AFTER(heap_bitmap_lock_);
234 static Mutex* runtime_thread_pool_lock_ ACQUIRED_AFTER(runtime_shutdown_lock_);
Dlocks.cc63 Mutex* Locks::runtime_shutdown_lock_ = nullptr; member in art::Locks
191 DCHECK(runtime_shutdown_lock_ == nullptr); in Init()
192 runtime_shutdown_lock_ = new Mutex("runtime shutdown lock", current_lock_level); in Init()
Dmutex.cc332 MutexLock mu(Thread::Current(), *Locks::runtime_shutdown_lock_); in IsSafeToCallAbortSafe()
/art/adbconnection/
Dadbconnection.cc195 art::MutexLock mu(self, *art::Locks::runtime_shutdown_lock_); in CallbackFunction()
243 art::MutexLock mu(self, *art::Locks::runtime_shutdown_lock_); in StartDebuggerThreads()
267 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in StartDebuggerThreads()
/art/openjdkjvmti/
Dti_thread.cc785 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in AgentCallback()
820 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in RunAgentThread()
860 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in RunAgentThread()
/art/runtime/gc/
Dheap.h309 REQUIRES(Locks::mutator_lock_, !Locks::runtime_shutdown_lock_);
375 REQUIRES(!Locks::runtime_shutdown_lock_, !*gc_complete_lock_, !*pending_task_lock_);
657 REQUIRES(Locks::mutator_lock_, !Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_);
Dheap.cc821 MutexLock mu(nullptr, *Locks::runtime_shutdown_lock_); in ChangeAllocator()
3324 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalAllocationStacks()
3805 static bool CanAddHeapTask(Thread* self) REQUIRES(!Locks::runtime_shutdown_lock_) { in CanAddHeapTask()
/art/runtime/gc/allocator/
Drosalloc.cc1586 MutexLock mu(Thread::Current(), *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalRuns()
1613 MutexLock shutdown_mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalRunsAreRevoked()