Home
last modified time | relevance | path

Searched refs:GetThreadList (Results 1 – 25 of 43) sorted by relevance

12

/art/test/149-suspend-all-stress/
Dsuspend_all.cc45 Runtime::Current()->GetThreadList()->Dump(LOG_STREAM(INFO)); in Java_Main_suspendAndResume()
53 Runtime::Current()->GetThreadList()->Dump(LOG_STREAM(INFO)); in Java_Main_suspendAndResume()
/art/test/2011-stack-walk-concurrent-instrument/
Dstack_walk_concurrent.cc84 Thread* other = Runtime::Current()->GetThreadList()->SuspendThreadByPeer( in Java_Main_waitAndInstrumentStack()
90 bool resumed = art::Runtime::Current()->GetThreadList()->Resume(other, SuspendReason::kInternal); in Java_Main_waitAndInstrumentStack()
/art/runtime/
Dstartup_completed_task.cc105 runtime->GetThreadList()->RunCheckpoint(&closure); in DeleteStartupDexCaches()
119 runtime->GetThreadList()->RunCheckpoint(&closure); in DeleteStartupDexCaches()
Dinstrumentation.cc649 for (Thread* thread : Runtime::Current()->GetThreadList()->GetList()) { in InstrumentAllThreadStacks()
852 for (Thread* thread : Runtime::Current()->GetThreadList()->GetList()) { in AddListener()
983 for (Thread* thread : Runtime::Current()->GetThreadList()->GetList()) { in RemoveListener()
1034 Runtime::Current()->GetThreadList()->ForEach([&](Thread* t) NO_THREAD_SAFETY_ANALYSIS { in MaybeRestoreInstrumentationStack()
1048 Runtime::Current()->GetThreadList()->ForEach(InstrumentationRestoreStack); in MaybeRestoreInstrumentationStack()
1151 runtime->GetThreadList()->ForEach(ResetQuickAllocEntryPointsForThread, nullptr); in ResetQuickAllocEntryPoints()
1405 for (Thread* thread : Runtime::Current()->GetThreadList()->GetList()) { in EnableMethodTracing()
Dfault_handler.cc443 if (runtime->IsStarted() && runtime->GetThreadList() != nullptr) { in RemoveGeneratedCodeRange()
470 runtime->GetThreadList()->RunEmptyCheckpoint(); in RemoveGeneratedCodeRange()
Dmonitor.cc553 if (Runtime::Current()->GetThreadList()->Contains(orig_owner)) { in Lock()
689 ThreadList* const thread_list = Runtime::Current()->GetThreadList(); in FailedUnlock()
1070 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in InflateThinLocked()
1731 owner_ = Runtime::Current()->GetThreadList()->FindThreadByThreadId(lock_word.ThinLockOwner()); in MonitorInfo()
Dtrace.cc567 runtime->GetThreadList()->ForEach(GetSample, the_trace); in RunSamplingThread()
913 runtime->GetThreadList()->ForEach(ClearThreadStackTraceAndClockBase, nullptr); in StopTracing()
935 for (Thread* thread : Runtime::Current()->GetThreadList()->GetList()) { in StopTracing()
1464 for (Thread* thread : Runtime::Current()->GetThreadList()->GetList()) { in FlushAllThreadBuffers()
Dthread_list.cc299 runtime->GetThreadList()->Dump(ss); in UnsafeLogFatalForThreadSuspendAllTimeout()
1617 Runtime::Current()->GetThreadList()->SuspendAll(cause, long_suspend); in ScopedSuspendAll()
1621 Runtime::Current()->GetThreadList()->ResumeAll(); in ~ScopedSuspendAll()
Druntime_common.cc435 runtime->GetThreadList()->Dump(std::cerr, kDumpNativeStackOnTimeout); in HandleUnexpectedSignalCommonDump()
Dthread.cc630 CHECK(self->Init(runtime->GetThreadList(), runtime->GetJavaVM(), self->tlsPtr_.tmp_jni_env)); in CreateCallback()
670 Runtime::Current()->GetThreadList()->Unregister(self, /* should_run_callbacks= */ true); in CreateCallback()
1028 bool init_success = self->Init(runtime->GetThreadList(), runtime->GetJavaVM()); in Attach()
1044 runtime->GetThreadList()->Unregister(self, should_run_callbacks); in Attach()
1483 Runtime::Current()->GetThreadList()->Dump(ss); in UnsafeLogFatalForSuspendCount()
1574 Runtime::Current()->GetThreadList()->EmptyCheckpointBarrier()->Pass(this); in RunEmptyCheckpoint()
1742 ->GetThreadList() in RequestSynchronousCheckpoint()
4817 Runtime::Current()->GetThreadList()->RunCheckpoint(&closure); in ClearAllInterpreterCaches()
/art/runtime/gc/space/
Dbump_pointer_space.cc133 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers()
153 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked()
188 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetBytesAllocated()
206 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in GetObjectsAllocated()
Dregion_space.cc934 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in RevokeAllThreadLocalBuffers()
952 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in AssertAllThreadLocalBuffersAreRevoked()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc61 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getStackTraceById()
188 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in DdmVmInternal_getThreadStats()
Ddalvik_system_VMStack.cc51 ThreadList* thread_list = runtime->GetThreadList(); in GetThreadStack()
Djava_lang_Thread.cc150 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in Thread_setNativeName()
Ddalvik_system_ZygoteHooks.cc129 runtime->GetThreadList()->ForEach(DoCollectNonDebuggableCallback, &classes); in CollectNonDebuggableClasses()
/art/openjdkjvmti/
Ddeopt_manager.cc142 art::Runtime::Current()->GetThreadList()->ForEach(func, &dtdc); in DumpDeoptInfo()
339 art::Runtime::Current()->GetThreadList()->SuspendAll("JMVTI Deoptimizing methods", in ScopedDeoptimizationContext()
349 art::Runtime::Current()->GetThreadList()->ResumeAll(); in RELEASE()
Dti_object.cc113 thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetObjectMonitorUsage()
Dalloc_manager.cc203 size_t requested = art::Runtime::Current()->GetThreadList()->RunCheckpoint(&fc); in PauseAllocations()
Dti_thread.cc646 std::list<art::Thread*> thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetAllThreads()
704 art::ThreadList* list = art::Runtime::Current()->GetThreadList(); in RemoveEnvironment()
917 art::Thread* ret_target = art::Runtime::Current()->GetThreadList()->SuspendThreadByPeer( in SuspendOther()
1010 if (!art::Runtime::Current()->GetThreadList()->Resume(target, in ResumeThread()
Dti_threadgroup.cc174 std::list<art::Thread*> thread_list = art::Runtime::Current()->GetThreadList()->GetList(); in GetThreads()
/art/runtime/jni/
Djni_env_ext.cc307 runtime->GetThreadList()->ForEach(ThreadResetFunctionTable, nullptr); in SetTableOverride()
327 runtime->GetThreadList()->ForEach(ThreadResetFunctionTable, nullptr); in ResetFunctionTable()
/art/runtime/gc/collector/
Dsemi_space.cc163 runtime->GetThreadList()->DumpForSigQuit(oss); in MarkingPhase()
164 runtime->GetThreadList()->DumpNativeStacks(oss); in MarkingPhase()
506 runtime->GetThreadList()->SweepInterpreterCaches(this); in SweepSystemWeaks()
Dgarbage_collector.cc326 runtime->GetThreadList()->SuspendAll(__FUNCTION__); in ScopedPause()
344 runtime->GetThreadList()->ResumeAll(); in ~ScopedPause()
Dconcurrent_copying.cc321 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in ActivateReadBarrierEntrypoints()
770 Runtime::Current()->GetThreadList()->FlipThreadRoots( in FlipThreadRoots()
1043 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in CaptureThreadRootsForMarking()
1714 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in ReenableWeakRefAccess()
1780 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueDisableMarkingCheckpoint()
1815 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in IssueEmptyCheckpoint()
1988 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList(); in VerifyNoFromSpaceReferences()
2077 ThreadList* thread_list = Runtime::Current()->GetThreadList(); in RevokeThreadLocalMarkStacks()

12