Home
last modified time | relevance | path

Searched refs:thread_list_lock_ (Results 1 – 25 of 57) sorted by relevance

123

/art/runtime/
Dthread_list.h58 REQUIRES(!Locks::thread_list_lock_, !Locks::mutator_lock_);
61 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
66 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_)
76 REQUIRES(!Locks::thread_list_lock_,
90 !Locks::thread_list_lock_,
99 !Locks::thread_list_lock_,
103 Thread* FindThreadByThreadId(uint32_t thread_id) REQUIRES(Locks::thread_list_lock_);
111 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
119 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
128 !Locks::thread_list_lock_,
[all …]
Dtrace.h134 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_,
142 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_,
150 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_,
156 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_,
161 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::trace_lock_);
164 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::trace_lock_);
166 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::trace_lock_);
253 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::trace_lock_)
274 void DumpThreadList(std::ostream& os) REQUIRES(!Locks::thread_list_lock_);
Dthread_list.cc98 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown()
132 return Locks::thread_list_lock_->GetExclusiveOwnerTid(); in GetLockOwner()
136 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
186 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads()
259 MutexLock mu(self, *Locks::thread_list_lock_); in Dump()
279 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
325 Locks::thread_list_lock_->AssertNotHeld(self); in RunCheckpoint()
333 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
409 Locks::thread_list_lock_->AssertNotHeld(self); in RunEmptyCheckpoint()
416 MutexLock mu(self, *Locks::thread_list_lock_); in RunEmptyCheckpoint()
[all …]
Ddebugger.h291 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
377 REQUIRES(!Locks::thread_list_lock_) REQUIRES_SHARED(Locks::mutator_lock_);
380 REQUIRES(!Locks::thread_list_lock_) REQUIRES_SHARED(Locks::mutator_lock_);
462 REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Locks::thread_list_lock_);
464 REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Locks::thread_list_lock_);
481 REQUIRES(!Locks::thread_list_lock_);
484 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
490 REQUIRES(!Locks::thread_list_lock_) REQUIRES_SHARED(Locks::mutator_lock_);
493 REQUIRES(!Locks::thread_list_lock_);
496 REQUIRES(!Locks::thread_list_lock_) REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Dinstrumentation.h207 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::classlinker_classes_lock_);
211 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::classlinker_classes_lock_);
234 REQUIRES(!Locks::thread_list_lock_,
242 REQUIRES(!Locks::thread_list_lock_,
250 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !GetDeoptimizedMethodsLock());
256 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !GetDeoptimizedMethodsLock());
266 REQUIRES(!Locks::thread_list_lock_,
273 REQUIRES(!Locks::thread_list_lock_,
285 REQUIRES(Locks::instrument_entrypoints_lock_, !Locks::thread_list_lock_,
288 REQUIRES(Locks::instrument_entrypoints_lock_, !Locks::thread_list_lock_,
[all …]
Druntime_test.cc38 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in TEST_F()
Dsignal_catcher.h39 void HandleSigQuit() REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_,
Druntime-inl.h94 MutexLock tll_mu(Thread::Current(), *Locks::thread_list_lock_); in DoAndMaybeSwitchInterpreter()
/art/runtime/jdwp/
Dobject_registry.h69 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_, !lock_);
73 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_, !lock_);
78 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_, !lock_);
82 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_, !lock_);
115 REQUIRES(!lock_, !Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
Dobject_registry.cc74 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_)
79 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_)
90 Locks::thread_list_lock_->AssertNotHeld(self); in InternalAdd()
/art/openjdkjvmti/
Dti_thread.h70 std::unordered_map<jvmtiEnv*, const void*> data GUARDED_BY(art::Locks::thread_list_lock_);
136 REQUIRES(art::Locks::thread_list_lock_);
145 REQUIRES(art::Locks::thread_list_lock_);
164 REQUIRES(art::Locks::thread_list_lock_);
166 REQUIRES(art::Locks::thread_list_lock_);
Dti_stack.cc244 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in GetStackTrace()
249 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
256 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
261 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
265 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
270 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
709 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in GetFrameCount()
714 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
721 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
726 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
[all …]
Dti_thread.cc268 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in GetThreadInfo()
388 REQUIRES(art::Locks::thread_list_lock_, art::Locks::user_code_suspension_lock_) { in GetNativeThreadState()
575 art::MutexLock tll_mu(self, *art::Locks::thread_list_lock_); in GetThreadState()
638 art::MutexLock mu(current, *art::Locks::thread_list_lock_); in GetAllThreads()
675 static void RemoveTLSData(art::Thread* target, void* ctx) REQUIRES(art::Locks::thread_list_lock_) { in RemoveTLSData()
677 art::Locks::thread_list_lock_->AssertHeld(art::Thread::Current()); in RemoveTLSData()
686 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in RemoveEnvironment()
694 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in SetThreadLocalStorage()
731 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in GetThreadLocalStorage()
879 art::MutexLock thread_list_mu(self, *art::Locks::thread_list_lock_); in SuspendOther()
[all …]
Ddeopt_manager.cc119 art::MutexLock mutll(self, *art::Locks::thread_list_lock_); in DumpDeoptInfo()
413 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in AddDeoptimizeThreadMethods()
417 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in AddDeoptimizeThreadMethods()
435 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in AddDeoptimizeThreadMethods()
441 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in RemoveDeoptimizeThreadMethods()
Dti_stack.h50 REQUIRES(!art::Locks::thread_list_lock_);
Dti_threadgroup.cc170 REQUIRES_SHARED(art::Locks::mutator_lock_) REQUIRES(!art::Locks::thread_list_lock_) { in GetThreads()
173 art::MutexLock mu(art::Thread::Current(), *art::Locks::thread_list_lock_); in GetThreads()
Dti_object.cc110 art::MutexLock tll(self, *art::Locks::thread_list_lock_); in GetObjectMonitorUsage()
/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.cc114 MutexLock mu2(self, *Locks::thread_list_lock_); in RevokeAllThreadLocalBuffers()
134 MutexLock mu2(self, *Locks::thread_list_lock_); in AssertAllThreadLocalBuffersAreRevoked()
175 MutexLock mu2(self, *Locks::thread_list_lock_); in GetBytesAllocated()
193 MutexLock mu2(self, *Locks::thread_list_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_);
/art/runtime/native/
Djava_lang_Thread.cc45 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_isInterrupted()
75 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_nativeGetStatus()
128 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_interrupt0()
174 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_setPriority0()
/art/runtime/base/
Dlocks.h258 static Mutex* thread_list_lock_ ACQUIRED_AFTER(subtype_check_lock_);
261 static ConditionVariable* thread_exit_cond_ GUARDED_BY(Locks::thread_list_lock_);
264 static Mutex* jni_libraries_lock_ ACQUIRED_AFTER(thread_list_lock_);
Dlocks.cc67 Mutex* Locks::thread_list_lock_ = nullptr; member in art::Locks
151 DCHECK(thread_list_lock_ != nullptr); in Init()
211 DCHECK(thread_list_lock_ == nullptr); in Init()
212 thread_list_lock_ = new Mutex("thread list lock", current_lock_level); in Init()
342 thread_exit_cond_ = new ConditionVariable("thread exit condition variable", *thread_list_lock_); in InitConditions()
/art/test/203-multi-checkpoint/
Dmulti_checkpoint.cc80 MutexLock tll_mu(self, *Locks::thread_list_lock_); in Java_Main_pushCheckpoints()
/art/openjdkjvm/
DOpenjdkJvm.cc352 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_SetThreadPriority()
377 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_Interrupt()
389 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_IsInterrupted()

123