Home
last modified time | relevance | path

Searched refs:GetThreadManager (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/runtime_core/static_core/runtime/mem/
Drendezvous.cpp30 Thread::GetCurrent()->GetVM()->GetThreadManager()->SuspendAllThreads(); in SafepointBegin()
42 Thread::GetCurrent()->GetVM()->GetThreadManager()->ResumeAllThreads(); in SafepointEnd()
/arkcompiler/runtime_core/static_core/plugins/ets/verification/
Dets_plugin.cpp30 auto coroman = static_cast<CoroutineManager *>(vm->GetThreadManager()); in CreateManagedThread()
39 auto coroman = static_cast<CoroutineManager *>(vm->GetThreadManager()); in DestroyManagedThread()
/arkcompiler/runtime_core/static_core/runtime/coroutines/
Dstackful_coroutine.cpp38 auto *cm = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in AttachToCoroutine()
77 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in Destroy()
111 auto *coroutineManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in ThreadProcImpl()
Dcoroutine.cpp45 callbacksEvent_(static_cast<CoroutineManager *>(vm->GetThreadManager())) in Coroutine()
50 …coroutineId_ = static_cast<CoroutineManager *>(GetVM()->GetThreadManager())->AllocateCoroutineId(); in Coroutine()
56 static_cast<CoroutineManager *>(GetVM()->GetThreadManager())->FreeCoroutineId(coroutineId_); in ~Coroutine()
183 auto *coroManager = static_cast<CoroutineManager *>(GetVM()->GetThreadManager()); in WaitTillAnnouncedCallbacksAreDelivered()
Dthreaded_coroutine.cpp52 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in AttachToCoroutine()
76 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in Destroy()
97 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in ThreadProc()
Dstackful_coroutine.h139 ASSERT(Coroutine::GetCurrent()->GetVM()->GetThreadManager()->GetMainThread() != in Execute()
/arkcompiler/runtime_core/static_core/runtime/hotreload/
Dhotreload.cpp115 ASSERT(thread_->GetVM()->GetThreadManager() != nullptr); in ProcessHotreload()
116 PandaVM::GetCurrent()->GetThreadManager()->EnumerateThreads([this](ManagedThread *thread) { in ProcessHotreload()
562 ASSERT(thread_->GetVM()->GetThreadManager() != nullptr); in ReloadClassNormal()
563 ASSERT(!thread_->GetVM()->GetThreadManager()->IsRunningThreadExist()); in ReloadClassNormal()
604 ASSERT(thread_->GetVM()->GetThreadManager() != nullptr); in UpdateVtablesInRuntimeClasses()
605 ASSERT(!thread_->GetVM()->GetThreadManager()->IsRunningThreadExist()); in UpdateVtablesInRuntimeClasses()
627 ASSERT(thread_->GetVM()->GetThreadManager() != nullptr); in AddLoadedPandaFilesToRuntime()
628 ASSERT(!thread_->GetVM()->GetThreadManager()->IsRunningThreadExist()); in AddLoadedPandaFilesToRuntime()
638 ASSERT(thread_->GetVM()->GetThreadManager() != nullptr); in AddObsoleteClassesToRuntime()
639 ASSERT(!thread_->GetVM()->GetThreadManager()->IsRunningThreadExist()); in AddObsoleteClassesToRuntime()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/lang/
Dgc_lang.cpp51 GetPandaVm()->GetThreadManager()->EnumerateThreads(cleaner); in ClearLocalInternalAllocatorPools()
80 GetPandaVm()->GetThreadManager()->EnumerateThreads(cb); in CommonUpdateRefsToMovedObjects()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core.cpp123 … auto *cm = static_cast<CoroutineManager *>(Coroutine::GetCurrent()->GetVM()->GetThreadManager()); in StdSystemScheduleCoroutine()
134 … auto *cm = static_cast<CoroutineManager *>(Coroutine::GetCurrent()->GetVM()->GetThreadManager()); in StdSystemSetCoroutineSchedulingPolicy()
/arkcompiler/runtime_core/static_core/runtime/
Ddeoptimization.cpp84 … vm->GetThreadManager()->EnumerateThreads([method, &inStackCount, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint()
86 vm->GetThreadManager()->EnumerateThreads([method, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint()
Dthread.cpp620 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in MTManagedThread()
636 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in ~MTManagedThread()
710 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in ProcessCreatedThread()
797 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in SetDaemon()
857 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in Destroy()
Dintrinsics.cpp327 … auto *cm = static_cast<CoroutineManager *>(Coroutine::GetCurrent()->GetVM()->GetThreadManager()); in SystemScheduleCoroutine()
Dclass_initializer.cpp208 … [[maybe_unused]] typename ClassInitGuard<MODE>::Guard guard(thread->GetVM()->GetThreadManager()); in Initialize()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_vm.h211 ThreadManager *GetThreadManager() const override in GetThreadManager() function
218 return static_cast<CoroutineManager *>(GetThreadManager()); in GetCoroutineManager()
Dets_vm.cpp243 ASSERT(GetThreadManager()->GetMainThread() == Thread::GetCurrent()); in Initialize()
636 GetThreadManager()->EnumerateThreads([visitor](ManagedThread *thread) { in VisitVmRoots()
677 GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateVmRefs()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_root.cpp175 vm_->GetThreadManager()->EnumerateThreads(threadVisitor); in VisitLocalRoots()
262 vm_->GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateThreadLocals()
/arkcompiler/runtime_core/static_core/runtime/core/
Dcore_vm.cpp308 GetThreadManager()->EnumerateThreads([visitor](ManagedThread *thread) { in VisitVmRoots()
321 GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateVmRefs()
Dcore_vm.h101 MTThreadManager *GetThreadManager() const override in GetThreadManager() function
/arkcompiler/runtime_core/static_core/runtime/include/
Dpanda_vm.h110 virtual ThreadManager *GetThreadManager() const = 0;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/
Dets_vm_test.cpp214 ASSERT_NE(vm->GetThreadManager(), nullptr); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dupdate_remset_worker.cpp106 auto *threadManager = vm->GetThreadManager(); in FillFromThreads()
Dg1-allocator.cpp418 Thread::GetCurrent()->GetVM()->GetThreadManager()->EnumerateThreads(callback); in ResetYoungAllocator()
Dg1-gc.cpp874 this->GetPandaVm()->GetThreadManager()->EnumerateThreads(setEntrypoint); in UpdatePreWrbEntrypointInThreads()
881 ASSERT(this->GetPandaVm()->GetThreadManager()->EnumerateThreads(callback)); in EnsurePreWrbDisabledInThreads()
2100 this->GetPandaVm()->GetThreadManager()->EnumerateThreads(callback); in DrainSatb()
2160 this->GetPandaVm()->GetThreadManager()->EnumerateThreads(threadCallback); in ClearSatb()
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
Dsampling_profiler.cpp249 auto tManager = runtime_->GetPandaVM()->GetThreadManager(); in CollectThreads()
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddebugger.h269 runtime_->GetPandaVM()->GetThreadManager()->EnumerateThreads( in GetThreadList()

12