Home
last modified time | relevance | path

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

/art/runtime/
Dthread_pool.cc36 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
94 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
103 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
108 ThreadPool::ThreadPool(const char* name, size_t num_threads) in ThreadPool() function in art::ThreadPool
132 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers()
138 ThreadPool::~ThreadPool() { in ~ThreadPool()
152 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
160 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
165 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
197 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
[all …]
Dthread_pool.h29 class ThreadPool; variable
66 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
70 ThreadPool* const thread_pool_;
76 friend class ThreadPool;
80 class ThreadPool {
100 ThreadPool(const char* name, size_t num_threads);
101 virtual ~ThreadPool();
153 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
Dthread_pool_test.cc63 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
78 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
103 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask()
122 ThreadPool* const thread_pool_;
130 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
Dbarrier_test.cc63 ThreadPool thread_pool("Barrier test thread pool", num_threads); in TEST_F()
114 ThreadPool thread_pool("Barrier test thread pool", num_threads); in TEST_F()
Dmonitor_test.cc320 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup()
Doat_file_assistant_test.cc1307 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
/art/compiler/
Delf_writer_quick.cc124 std::unique_ptr<ThreadPool> debug_info_thread_pool_;
231 debug_info_thread_pool_ = std::unique_ptr<ThreadPool>( in PrepareDebugInfo()
232 new ThreadPool("Mini-debug-info writer", 1)); in PrepareDebugInfo()
/art/runtime/gc/
Dtask_processor_test.cc66 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
136 ThreadPool thread_pool("task processor test", 1U); in TEST_F()
Dheap.h49 class ThreadPool; variable
664 ThreadPool* GetThreadPool() { in GetThreadPool()
1214 std::unique_ptr<ThreadPool> thread_pool_;
Dheap.cc966 thread_pool_.reset(new ThreadPool("Heap thread pool", num_threads)); in CreateThreadPool()
/art/compiler/driver/
Dcompiler_driver.h569 ThreadPool* thread_pool,
580 ThreadPool* thread_pool,
591 ThreadPool* thread_pool,
616 ThreadPool* thread_pool,
683 std::unique_ptr<ThreadPool> parallel_thread_pool_;
687 std::unique_ptr<ThreadPool> single_thread_pool_;
Dcompiler_driver.cc762 ThreadPool* resolve_thread_pool = force_determinism in Resolve()
1865 ThreadPool* thread_pool) in ParallelCompilationManager()
1959 ThreadPool* const thread_pool_;
2180 ThreadPool* thread_pool, in ResolveDexFile()
2314 ThreadPool* thread_pool, in VerifyDexFile()
2378 ThreadPool* thread_pool, in SetVerifiedDexFile()
2495 ThreadPool* init_thread_pool = force_determinism in InitializeClasses()
2707 ThreadPool* thread_pool, in CompileDexFile()
2892 new ThreadPool("Compiler driver thread pool", parallel_count)); in InitializeThreadPools()
2893 single_thread_pool_.reset(new ThreadPool("Single-threaded Compiler driver thread pool", 0)); in InitializeThreadPools()
/art/runtime/gc/collector/
Dmark_sweep.cc649 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask()
745 ThreadPool* const thread_pool_;
807 CardScanTask(ThreadPool* thread_pool, in CardScanTask()
858 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects()
972 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask()
1010 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark()
1371 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ProcessMarkStackParallel()
/art/runtime/gc/space/
Dlarge_object_space_test.cc154 ThreadPool thread_pool("Large object space test thread pool", kNumThreads); in RaceTest()
/art/runtime/jit/
Djit.h199 std::unique_ptr<ThreadPool> thread_pool_;
Djit.cc283 thread_pool_.reset(new ThreadPool("Jit thread pool", 1)); in CreateThreadPool()
292 ThreadPool* cache = nullptr; in DeleteThreadPool()