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()
116 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in ThreadProcImpl()
Dthreaded_coroutine.cpp52 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in AttachToCoroutine()
76 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in Destroy()
118 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in ThreadProc()
Dcoroutine.cpp46 …coroutineId_ = static_cast<CoroutineManager *>(GetVM()->GetThreadManager())->AllocateCoroutineId(); in Coroutine()
51 static_cast<CoroutineManager *>(GetVM()->GetThreadManager())->FreeCoroutineId(coroutineId_); in ~Coroutine()
Dstackful_coroutine.h127 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/runtime/
Ddeoptimization.cpp80 … vm->GetThreadManager()->EnumerateThreads([method, &inStackCount, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint()
82 vm->GetThreadManager()->EnumerateThreads([method, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint()
Dthread.cpp604 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in MTManagedThread()
620 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in ~MTManagedThread()
694 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in ProcessCreatedThread()
781 auto threadManager = reinterpret_cast<MTThreadManager *>(GetVM()->GetThreadManager()); in SetDaemon()
841 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.cpp242 ASSERT(GetThreadManager()->GetMainThread() == Thread::GetCurrent()); in Initialize()
598 GetThreadManager()->EnumerateThreads([visitor](ManagedThread *thread) { in VisitVmRoots()
657 GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateVmRefs()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_root.cpp173 vm_->GetThreadManager()->EnumerateThreads(threadVisitor); in VisitLocalRoots()
260 vm_->GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateThreadLocals()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core.cpp125 … auto *cm = static_cast<CoroutineManager *>(Coroutine::GetCurrent()->GetVM()->GetThreadManager()); in StdSystemScheduleCoroutine()
/arkcompiler/runtime_core/static_core/runtime/core/
Dcore_vm.cpp307 GetThreadManager()->EnumerateThreads([visitor](ManagedThread *thread) { in VisitVmRoots()
320 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.h108 virtual ThreadManager *GetThreadManager() const = 0;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/
Dets_vm_test.cpp209 ASSERT_NE(vm->GetThreadManager(), nullptr); in TEST_F()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dupdate_remset_worker.cpp103 auto *threadManager = vm->GetThreadManager(); in FillFromThreads()
Dg1-allocator.cpp410 Thread::GetCurrent()->GetVM()->GetThreadManager()->EnumerateThreads(callback); in ResetYoungAllocator()
Dg1-gc.cpp834 this->GetPandaVm()->GetThreadManager()->EnumerateThreads(setEntrypoint); in UpdatePreWrbEntrypointInThreads()
841 ASSERT(this->GetPandaVm()->GetThreadManager()->EnumerateThreads(callback)); in EnsurePreWrbDisabledInThreads()
1834 this->GetPandaVm()->GetThreadManager()->EnumerateThreads(callback); in DrainSatb()
1894 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