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()
99 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
108 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
113 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers) in ThreadPool() function in art::ThreadPool
138 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers()
144 ThreadPool::~ThreadPool() { in ~ThreadPool()
158 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
166 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
171 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
203 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;
81 class ThreadPool {
106 ThreadPool(const char* name, size_t num_threads, bool create_peers = false);
107 virtual ~ThreadPool();
161 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
Dthread_pool_test.cc64 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
79 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
104 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask()
123 ThreadPool* const thread_pool_;
131 ThreadPool thread_pool("Thread pool test thread pool", num_threads); in TEST_F()
172 ThreadPool thread_pool("Thread pool test thread pool", 1); in TEST_F()
184 ThreadPool thread_pool("Thread pool test thread pool", 1, true); 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.cc321 ThreadPool thread_pool(pool_name, 3); in CommonWaitSetup()
402 ThreadPool thread_pool("the pool", 2); in TEST_F()
Doat_file_assistant_test.cc1139 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()
2724 ThreadPool* thread_pool, in CompileDexFile()
2909 new ThreadPool("Compiler driver thread pool", parallel_count)); in InitializeThreadPools()
2910 single_thread_pool_.reset(new ThreadPool("Single-threaded Compiler driver thread pool", 0)); in InitializeThreadPools()
/art/runtime/gc/collector/
Dmark_sweep.cc650 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask()
746 ThreadPool* const thread_pool_;
808 CardScanTask(ThreadPool* thread_pool, in CardScanTask()
859 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects()
973 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask()
1011 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark()
1372 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.cc291 thread_pool_.reset(new ThreadPool("Jit thread pool", 1, kJitPoolNeedsPeers)); in CreateThreadPool()
301 ThreadPool* cache = nullptr; in DeleteThreadPool()