Home
last modified time | relevance | path

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

123

/art/runtime/
Dthread_list.h60 REQUIRES(!Locks::thread_list_lock_, !Locks::mutator_lock_);
63 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
68 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_)
78 REQUIRES(!Locks::thread_list_lock_,
92 !Locks::thread_list_lock_,
101 !Locks::thread_list_lock_,
105 Thread* FindThreadByThreadId(uint32_t thread_id) REQUIRES(Locks::thread_list_lock_);
109 bool Contains(Thread* thread) REQUIRES(Locks::thread_list_lock_);
117 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
125 REQUIRES(!Locks::thread_list_lock_, !Locks::thread_suspend_count_lock_);
[all …]
Dthread_list.cc97 MutexLock mu(self, *Locks::thread_list_lock_); in ShutDown()
131 return Locks::thread_list_lock_->GetExclusiveOwnerTid(); in GetLockOwner()
135 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpNativeStacks()
184 MutexLock mu(self, *Locks::thread_list_lock_); in DumpUnattachedThreads()
257 MutexLock mu(self, *Locks::thread_list_lock_); in Dump()
277 MutexLock mu(self, *Locks::thread_list_lock_); in AssertThreadsAreSuspended()
323 Locks::thread_list_lock_->AssertNotHeld(self); in RunCheckpoint()
331 MutexLock mu(self, *Locks::thread_list_lock_); in RunCheckpoint()
410 Locks::thread_list_lock_->AssertNotHeld(self); in RunEmptyCheckpoint()
417 MutexLock mu(self, *Locks::thread_list_lock_); in RunEmptyCheckpoint()
[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_);
254 REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::trace_lock_)
275 void DumpThreadList(std::ostream& os) REQUIRES(!Locks::thread_list_lock_);
Dinstrumentation.h217 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::classlinker_classes_lock_);
221 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::classlinker_classes_lock_);
244 REQUIRES(!Locks::thread_list_lock_,
252 REQUIRES(!Locks::thread_list_lock_,
260 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !GetDeoptimizedMethodsLock());
266 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !GetDeoptimizedMethodsLock());
276 REQUIRES(!Locks::thread_list_lock_,
283 REQUIRES(!Locks::thread_list_lock_,
295 REQUIRES(Locks::instrument_entrypoints_lock_, !Locks::thread_list_lock_,
298 REQUIRES(Locks::instrument_entrypoints_lock_, !Locks::thread_list_lock_,
[all …]
Dsignal_catcher.h39 void HandleSigQuit() REQUIRES(!Locks::mutator_lock_, !Locks::thread_list_lock_,
Druntime_test.cc41 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in TEST_F()
Druntime-inl.h94 MutexLock tll_mu(Thread::Current(), *Locks::thread_list_lock_); in DoAndMaybeSwitchInterpreter()
Ddebugger.h80 REQUIRES(!Locks::thread_list_lock_);
Dinstrumentation.cc549 MutexLock mu(self, *Locks::thread_list_lock_); in DeoptimizeAllThreadFrames()
567 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::classlinker_classes_lock_) { in PotentiallyAddListenerTo()
643 REQUIRES(Locks::mutator_lock_, !Locks::thread_list_lock_, !Locks::classlinker_classes_lock_) { in PotentiallyRemoveListenerFrom()
791 Locks::thread_list_lock_->AssertNotHeld(self); in UpdateStubs()
804 MutexLock mu(self, *Locks::thread_list_lock_); in UpdateStubs()
818 MutexLock mu(self, *Locks::thread_list_lock_); in UpdateStubs()
906 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in ResetQuickAllocEntryPoints()
1031 MutexLock mu(self, *Locks::thread_list_lock_); in Deoptimize()
1067 MutexLock mu(self, *Locks::thread_list_lock_); in Undeoptimize()
Dmonitor.cc468 Locks::thread_list_lock_->ExclusiveLock(self); in Lock()
481 Locks::thread_list_lock_->ExclusiveUnlock(self); in Lock()
494 Locks::thread_list_lock_->ExclusiveUnlock(self); in Lock()
544 Locks::thread_list_lock_->ExclusiveLock(self); in Lock()
570 Locks::thread_list_lock_->ExclusiveUnlock(self); in Lock()
615 Locks::thread_list_lock_->ExclusiveUnlock(self); in Lock()
683 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in FailedUnlock()
764 MutexLock mu(self, *Locks::thread_list_lock_); in Unlock()
1589 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in GetOwnerThreadId()
/art/openjdkjvmti/
Dti_thread.h74 std::unordered_map<jvmtiEnv*, const void*> data GUARDED_BY(art::Locks::thread_list_lock_);
140 REQUIRES(art::Locks::thread_list_lock_);
149 REQUIRES(art::Locks::thread_list_lock_);
168 REQUIRES(art::Locks::thread_list_lock_);
170 REQUIRES(art::Locks::thread_list_lock_);
Dti_stack.cc261 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in GetStackTrace()
266 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
273 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
278 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
282 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
287 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetStackTrace()
726 art::Locks::thread_list_lock_->ExclusiveLock(soa.Self()); in GetFrameCount()
731 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
738 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
743 art::Locks::thread_list_lock_->ExclusiveUnlock(soa.Self()); in GetFrameCount()
[all …]
Dti_thread.cc271 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in GetThreadInfo()
391 REQUIRES(art::Locks::thread_list_lock_, art::Locks::user_code_suspension_lock_) { in GetNativeThreadState()
578 art::MutexLock tll_mu(self, *art::Locks::thread_list_lock_); in GetThreadState()
641 art::MutexLock mu(current, *art::Locks::thread_list_lock_); in GetAllThreads()
678 static void RemoveTLSData(art::Thread* target, void* ctx) REQUIRES(art::Locks::thread_list_lock_) { in RemoveTLSData()
680 art::Locks::thread_list_lock_->AssertHeld(art::Thread::Current()); in RemoveTLSData()
689 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in RemoveEnvironment()
697 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in SetThreadLocalStorage()
734 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in GetThreadLocalStorage()
882 art::MutexLock thread_list_mu(self, *art::Locks::thread_list_lock_); in SuspendOther()
[all …]
Devents.h307 REQUIRES(art::Locks::user_code_suspension_lock_, art::Locks::thread_list_lock_);
368 REQUIRES(envs_lock_, art::Locks::thread_list_lock_);
407 REQUIRES(envs_lock_, art::Locks::thread_list_lock_);
410 REQUIRES(envs_lock_, art::Locks::thread_list_lock_);
413 REQUIRES(envs_lock_, art::Locks::thread_list_lock_);
445 GUARDED_BY(envs_lock_) GUARDED_BY(art::Locks::thread_list_lock_);
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.h51 REQUIRES(!art::Locks::thread_list_lock_);
Dti_threadgroup.cc173 REQUIRES_SHARED(art::Locks::mutator_lock_) REQUIRES(!art::Locks::thread_list_lock_) { in GetThreads()
176 art::MutexLock mu(art::Thread::Current(), *art::Locks::thread_list_lock_); in GetThreads()
/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()
117 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_getNativeTid()
135 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_interrupt0()
181 MutexLock mu(soa.Self(), *Locks::thread_list_lock_); in Thread_setPriority0()
/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/base/
Dlocks.h265 static Mutex* thread_list_lock_ ACQUIRED_AFTER(subtype_check_lock_);
268 static ConditionVariable* thread_exit_cond_ GUARDED_BY(Locks::thread_list_lock_);
271 static Mutex* jni_libraries_lock_ ACQUIRED_AFTER(thread_list_lock_);
Dlocks.cc68 Mutex* Locks::thread_list_lock_ = nullptr; member in art::Locks
154 DCHECK(thread_list_lock_ != nullptr); in Init()
215 DCHECK(thread_list_lock_ == nullptr); in Init()
216 thread_list_lock_ = new Mutex("thread list lock", current_lock_level); in Init()
354 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/runtime/jni/
Djni_env_ext.h146 REQUIRES(!Locks::thread_list_lock_, !Locks::jni_function_table_lock_);
154 REQUIRES(!Locks::thread_list_lock_, !Locks::jni_function_table_lock_);

123