Home
last modified time | relevance | path

Searched refs:ThreadPool (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/runtime_core/static_core/docs/diagrams/
Dthread_pool_init-sequence.plantuml3 title HybridVM startup and ThreadPool initialization
7 StaticVM -> ThreadPool : Create shared ThreadPool
8 StaticVM -> ThreadPool : Register ArkTS GC queue
9 StaticVM -> ThreadPool : Register ArkTS JIT queue
10 DynamicVM -> ThreadPool : Register ECMA GC queue
11 StaticVM -> ThreadPool : Initialize thread pool
/arkcompiler/runtime_core/static_core/runtime/
Dcompiler_thread_pool_worker.h45 … threadPool_ = internalAllocator_->New<ThreadPool<CompilerTask, CompilerProcessor, Compiler *>>( in InitializeWorker()
75 ThreadPool<CompilerTask, CompilerProcessor, Compiler *> *GetThreadPool() in GetThreadPool()
86 ThreadPool<CompilerTask, CompilerProcessor, Compiler *> *threadPool_ {nullptr};
Dthread_pool.h90 class ThreadPool {
92 NO_COPY_SEMANTIC(ThreadPool);
93 NO_MOVE_SEMANTIC(ThreadPool);
95 …explicit ThreadPool(mem::InternalAllocatorPtr allocator, TaskQueueInterface<Task> *queue, ProcArg …
111 ~ThreadPool() in ~ThreadPool()
249 static void WorkerEntry(ThreadPool<Task, Proc, ProcArg> *threadPool, Proc *proc, int i) in WorkerEntry()
Dcompiler.h752 ThreadPool<CompilerTask, CompilerProcessor, Compiler *> *GetThreadPool() in GetThreadPool()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dmock_queue_thread_pool.cpp171 void CreateTasks(ThreadPool<MockTask, MockProcessor, MockTaskController *> *threadPool, size_t numb… in CreateTasks()
186 auto threadPool = allocator->New<ThreadPool<MockTask, MockProcessor, MockTaskController *>>( in TestThreadPool()
250 void ControllerThreadPutTask(ThreadPool<MockTask, MockProcessor, MockTaskController *> *threadPool, in ControllerThreadPutTask()
256 void ControllerThreadTryPutTask(ThreadPool<MockTask, MockProcessor, MockTaskController *> *threadPo… in ControllerThreadTryPutTask()
268 void ControllerThreadScale(ThreadPool<MockTask, MockProcessor, MockTaskController *> *threadPool, in ControllerThreadScale()
274 void ControllerThreadShutdown(ThreadPool<MockTask, MockProcessor, MockTaskController *> *threadPool… in ControllerThreadShutdown()
291 auto threadPool = allocator->New<ThreadPool<MockTask, MockProcessor, MockTaskController *>>( in TestThreadPoolWithControllers()
/arkcompiler/runtime_core/static_core/docs/
Dtask_manager.md36 1. Managing thread pool - `ThreadPool`, `WorkerThread`
39 4. Distribute worker threads from `ThreadPool` between static and dynamic VM instances to optimize …
43 # ThreadPool chapter
/arkcompiler/runtime_core/static_core/runtime/mem/gc/workers/
Dgc_workers_thread_pool.cpp47 …threadPool_ = internalAllocator_->New<ThreadPool<GCWorkersTask, GCWorkersProcessor, GCWorkersThrea… in GCWorkersThreadPool()
Dgc_workers_thread_pool.h156 ThreadPool<GCWorkersTask, GCWorkersProcessor, GCWorkersThreadPool *> *threadPool_;
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/
Dmain.rb96 class ThreadPool class
284 thread_pool = ThreadPool.new($options[:proc])
/arkcompiler/runtime_core/static_core/libllvmbackend/
Dllvm_aot_compiler.h153 std::unique_ptr<llvm::ThreadPool> threadPool_;
Dllvm_aot_compiler.cpp517 threadPool_ = std::make_unique<llvm::ThreadPool>(strategy); in LLVMAotCompiler()
/arkcompiler/runtime_core/panda/
Dpanda.cpp163 …verifier::ThreadPool::GetCache()->FastAPI().ProcessFiles(runtime.GetClassLinker()->GetBootPandaFil… in ExecutePandaFile()
/arkcompiler/runtime_core/static_core/models/thread_pool/
Dthread_pool.tla141 \* ThreadPool methods