| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | rendezvous.cpp | 30 Thread::GetCurrent()->GetVM()->GetThreadManager()->SuspendAllThreads(); in SafepointBegin() 42 Thread::GetCurrent()->GetVM()->GetThreadManager()->ResumeAllThreads(); in SafepointEnd()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/verification/ |
| D | ets_plugin.cpp | 30 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/ |
| D | stackful_coroutine.cpp | 38 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()
|
| D | coroutine.cpp | 45 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()
|
| D | threaded_coroutine.cpp | 52 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()
|
| D | stackful_coroutine.h | 139 ASSERT(Coroutine::GetCurrent()->GetVM()->GetThreadManager()->GetMainThread() != in Execute()
|
| /arkcompiler/runtime_core/static_core/runtime/hotreload/ |
| D | hotreload.cpp | 115 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/ |
| D | gc_lang.cpp | 51 GetPandaVm()->GetThreadManager()->EnumerateThreads(cleaner); in ClearLocalInternalAllocatorPools() 80 GetPandaVm()->GetThreadManager()->EnumerateThreads(cb); in CommonUpdateRefsToMovedObjects()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core.cpp | 123 … 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/ |
| D | deoptimization.cpp | 84 … vm->GetThreadManager()->EnumerateThreads([method, &inStackCount, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint() 86 vm->GetThreadManager()->EnumerateThreads([method, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint()
|
| D | thread.cpp | 620 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()
|
| D | intrinsics.cpp | 327 … auto *cm = static_cast<CoroutineManager *>(Coroutine::GetCurrent()->GetVM()->GetThreadManager()); in SystemScheduleCoroutine()
|
| D | class_initializer.cpp | 208 … [[maybe_unused]] typename ClassInitGuard<MODE>::Guard guard(thread->GetVM()->GetThreadManager()); in Initialize()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_vm.h | 211 ThreadManager *GetThreadManager() const override in GetThreadManager() function 218 return static_cast<CoroutineManager *>(GetThreadManager()); in GetCoroutineManager()
|
| D | ets_vm.cpp | 243 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/ |
| D | gc_root.cpp | 175 vm_->GetThreadManager()->EnumerateThreads(threadVisitor); in VisitLocalRoots() 262 vm_->GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateThreadLocals()
|
| /arkcompiler/runtime_core/static_core/runtime/core/ |
| D | core_vm.cpp | 308 GetThreadManager()->EnumerateThreads([visitor](ManagedThread *thread) { in VisitVmRoots() 321 GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateVmRefs()
|
| D | core_vm.h | 101 MTThreadManager *GetThreadManager() const override in GetThreadManager() function
|
| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | panda_vm.h | 110 virtual ThreadManager *GetThreadManager() const = 0;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/ |
| D | ets_vm_test.cpp | 214 ASSERT_NE(vm->GetThreadManager(), nullptr); in TEST_F()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/ |
| D | update_remset_worker.cpp | 106 auto *threadManager = vm->GetThreadManager(); in FillFromThreads()
|
| D | g1-allocator.cpp | 418 Thread::GetCurrent()->GetVM()->GetThreadManager()->EnumerateThreads(callback); in ResetYoungAllocator()
|
| D | g1-gc.cpp | 874 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/ |
| D | sampling_profiler.cpp | 249 auto tManager = runtime_->GetPandaVM()->GetThreadManager(); in CollectThreads()
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/ |
| D | debugger.h | 269 runtime_->GetPandaVM()->GetThreadManager()->EnumerateThreads( in GetThreadList()
|