| /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() 116 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in ThreadProcImpl()
|
| 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() 118 auto *threadManager = static_cast<CoroutineManager *>(co->GetVM()->GetThreadManager()); in ThreadProc()
|
| D | coroutine.cpp | 46 …coroutineId_ = static_cast<CoroutineManager *>(GetVM()->GetThreadManager())->AllocateCoroutineId(); in Coroutine() 51 static_cast<CoroutineManager *>(GetVM()->GetThreadManager())->FreeCoroutineId(coroutineId_); in ~Coroutine()
|
| D | stackful_coroutine.h | 127 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/runtime/ |
| D | deoptimization.cpp | 80 … vm->GetThreadManager()->EnumerateThreads([method, &inStackCount, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint() 82 vm->GetThreadManager()->EnumerateThreads([method, isCha](ManagedThread *thread) { in InvalidateCompiledEntryPoint()
|
| D | thread.cpp | 604 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()
|
| 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 | 242 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/ |
| D | gc_root.cpp | 173 vm_->GetThreadManager()->EnumerateThreads(threadVisitor); in VisitLocalRoots() 260 vm_->GetThreadManager()->EnumerateThreads([](ManagedThread *thread) { in UpdateThreadLocals()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core.cpp | 125 … auto *cm = static_cast<CoroutineManager *>(Coroutine::GetCurrent()->GetVM()->GetThreadManager()); in StdSystemScheduleCoroutine()
|
| /arkcompiler/runtime_core/static_core/runtime/core/ |
| D | core_vm.cpp | 307 GetThreadManager()->EnumerateThreads([visitor](ManagedThread *thread) { in VisitVmRoots() 320 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 | 108 virtual ThreadManager *GetThreadManager() const = 0;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/ |
| D | ets_vm_test.cpp | 209 ASSERT_NE(vm->GetThreadManager(), nullptr); in TEST_F()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/ |
| D | update_remset_worker.cpp | 103 auto *threadManager = vm->GetThreadManager(); in FillFromThreads()
|
| D | g1-allocator.cpp | 410 Thread::GetCurrent()->GetVM()->GetThreadManager()->EnumerateThreads(callback); in ResetYoungAllocator()
|
| D | g1-gc.cpp | 834 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/ |
| 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()
|