Home
last modified time | relevance | path

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

/art/runtime/entrypoints/quick/
Dquick_alloc_entrypoints.h34 REQUIRES(Locks::mutator_lock_, Locks::runtime_shutdown_lock_);
37 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.h149 REQUIRES(!Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_, !region_lock_);
152 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.cc928 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalBuffers()
946 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in AssertAllThreadLocalBuffersAreRevoked()
/art/runtime/base/
Dlocks.h238 static Mutex* runtime_shutdown_lock_ ACQUIRED_AFTER(heap_bitmap_lock_);
241 static Mutex* runtime_thread_pool_lock_ ACQUIRED_AFTER(runtime_shutdown_lock_);
Dlocks.cc63 Mutex* Locks::runtime_shutdown_lock_ = nullptr; member in art::Locks
195 DCHECK(runtime_shutdown_lock_ == nullptr); in Init()
196 runtime_shutdown_lock_ = new Mutex("runtime shutdown lock", current_lock_level); in Init()
Dmutex.cc405 MutexLock mu(Thread::Current(), *Locks::runtime_shutdown_lock_); in IsSafeToCallAbortSafe()
/art/runtime/
Druntime.h224 bool IsShuttingDownLocked() const REQUIRES(Locks::runtime_shutdown_lock_) { in IsShuttingDownLocked()
230 void SetShuttingDown() REQUIRES(Locks::runtime_shutdown_lock_) { in SetShuttingDown()
234 size_t NumberOfThreadsBeingBorn() const REQUIRES(Locks::runtime_shutdown_lock_) { in NumberOfThreadsBeingBorn()
238 void StartThreadBirth() REQUIRES(Locks::runtime_shutdown_lock_) { in StartThreadBirth()
242 void EndThreadBirth() REQUIRES(Locks::runtime_shutdown_lock_);
1194 size_t threads_being_born_ GUARDED_BY(Locks::runtime_shutdown_lock_);
1197 std::unique_ptr<ConditionVariable> shutdown_cond_ GUARDED_BY(Locks::runtime_shutdown_lock_);
1205 bool shutting_down_started_ GUARDED_BY(Locks::runtime_shutdown_lock_);
Dinstrumentation.h296 !Locks::runtime_shutdown_lock_);
299 !Locks::runtime_shutdown_lock_);
300 void ResetQuickAllocEntryPoints() REQUIRES(Locks::runtime_shutdown_lock_);
Dthread_list.h152 REQUIRES(Locks::runtime_shutdown_lock_)
Dthread_list.cc1122 Locks::runtime_shutdown_lock_->Lock(self); in WaitForOtherNonDaemonThreadsToExit()
1131 Locks::runtime_shutdown_lock_->Unlock(self); in WaitForOtherNonDaemonThreadsToExit()
1137 Locks::runtime_shutdown_lock_->Unlock(self); in WaitForOtherNonDaemonThreadsToExit()
Druntime.cc260 shutdown_cond_(new ConditionVariable("Runtime shutdown", *Locks::runtime_shutdown_lock_)), in Runtime()
408 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in ~Runtime()
1026 void Runtime::EndThreadBirth() REQUIRES(Locks::runtime_shutdown_lock_) { in EndThreadBirth()
1184 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in IsShuttingDown()
Dinstrumentation.cc856 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in SetEntrypointsInstrumented()
861 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in SetEntrypointsInstrumented()
Dthread.cc606 MutexLock mu(nullptr, *Locks::runtime_shutdown_lock_); in CreateCallback()
848 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in CreateNativeThread()
904 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in CreateNativeThread()
992 MutexLock mu(nullptr, *Locks::runtime_shutdown_lock_); in Attach()
Dthread.h1436 REQUIRES(Locks::runtime_shutdown_lock_);
/art/adbconnection/
Dadbconnection.cc225 art::MutexLock mu(self, *art::Locks::runtime_shutdown_lock_); in CallbackFunction()
269 art::MutexLock mu(self, *art::Locks::runtime_shutdown_lock_); in StartDebuggerThreads()
294 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in StartDebuggerThreads()
/art/openjdkjvmti/
Dti_thread.cc788 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in AgentCallback()
823 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in RunAgentThread()
863 art::MutexLock mu(art::Thread::Current(), *art::Locks::runtime_shutdown_lock_); in RunAgentThread()
/art/runtime/gc/
Dheap.h331 REQUIRES(Locks::mutator_lock_, !Locks::runtime_shutdown_lock_);
395 REQUIRES(!Locks::runtime_shutdown_lock_, !*gc_complete_lock_,
665 REQUIRES(Locks::mutator_lock_, !Locks::runtime_shutdown_lock_, !Locks::thread_list_lock_);
Dheap.cc903 MutexLock mu(nullptr, *Locks::runtime_shutdown_lock_); in ChangeAllocator()
3236 MutexLock mu(self, *Locks::runtime_shutdown_lock_); in RevokeAllThreadLocalAllocationStacks()
3728 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()