Home
last modified time | relevance | path

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

/art/runtime/
Dthread_pool_test.cc64 std::unique_ptr<ThreadPool> thread_pool( in TEST_F()
65 ThreadPool::Create("Thread pool test thread pool", num_threads)); in TEST_F()
80 std::unique_ptr<ThreadPool> thread_pool( in TEST_F()
81 ThreadPool::Create("Thread pool test thread pool", num_threads)); in TEST_F()
106 std::unique_ptr<ThreadPool> thread_pool( in TEST_F()
107 ThreadPool::Create("Thread pool test thread pool", num_threads)); in TEST_F()
130 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask()
149 ThreadPool* const thread_pool_;
157 std::unique_ptr<ThreadPool> thread_pool( in TEST_F()
158 ThreadPool::Create("Thread pool test thread pool", num_threads)); in TEST_F()
[all …]
Dthread_pool.h214 class EXPORT ThreadPool : public AbstractThreadPool {
221 static ThreadPool* Create(const char* name,
225 ThreadPool* pool = new ThreadPool(name, num_threads, create_peers, worker_stack_size);
233 ~ThreadPool() override;
242 ThreadPool(const char* name, in ThreadPool() function
251 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
Dbarrier_test.cc67 std::unique_ptr<ThreadPool> thread_pool( in TEST_F()
68 ThreadPool::Create("Barrier test thread pool", num_threads)); in TEST_F()
119 std::unique_ptr<ThreadPool> thread_pool( in TEST_F()
120 ThreadPool::Create("Barrier test thread pool", num_threads)); in TEST_F()
Dthread_pool.cc162 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
171 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
188 ThreadPool::~ThreadPool() { in ~ThreadPool()
315 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked()
344 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
Dmonitor_test.cc281 std::unique_ptr<ThreadPool> thread_pool(ThreadPool::Create(pool_name, 3)); in CommonWaitSetup()
364 std::unique_ptr<ThreadPool> thread_pool(ThreadPool::Create("the pool", 2)); in TEST_F()
Druntime.h118 class ThreadPool; variable
1011 ThreadPool* GetThreadPool() const { in GetThreadPool()
1016 ThreadPool* const thread_pool_;
1174 ThreadPool* AcquireThreadPool() REQUIRES(!Locks::runtime_thread_pool_lock_);
1290 std::unique_ptr<ThreadPool> thread_pool_ GUARDED_BY(Locks::runtime_thread_pool_lock_);
Dtrace.h127 class TraceWriterThreadPool : public ThreadPool {
139 : ThreadPool(name, in TraceWriterThreadPool()
Druntime.cc1275 ThreadPool::Create("Runtime", num_workers, /*create_peers=*/false, kStackSize)); in InitNonZygoteOrPostFork()
3267 std::unique_ptr<ThreadPool> thread_pool; in DeleteThreadPool()
3277 ThreadPool* Runtime::AcquireThreadPool() { in AcquireThreadPool()
/art/runtime/gc/
Dtask_processor_test.cc66 std::unique_ptr<ThreadPool> thread_pool(ThreadPool::Create("task processor test", 1U)); in TEST_F()
136 std::unique_ptr<ThreadPool> thread_pool(ThreadPool::Create("task processor test", 1U)); in TEST_F()
Dheap.h62 class ThreadPool; variable
791 ThreadPool* GetThreadPool() { in GetThreadPool()
1577 std::unique_ptr<ThreadPool> thread_pool_;
Dheap.cc1140 thread_pool_.reset(ThreadPool::Create("Heap thread pool", num_threads)); in CreateThreadPool()
/art/dex2oat/driver/
Dcompiler_driver.h239 ThreadPool* thread_pool,
256 ThreadPool* thread_pool,
266 ThreadPool* thread_pool,
317 std::unique_ptr<ThreadPool> parallel_thread_pool_;
320 std::unique_ptr<ThreadPool> single_thread_pool_;
Dcompiler_driver.cc576 ThreadPool* resolve_thread_pool = force_determinism in Resolve()
1551 ThreadPool* thread_pool) in ParallelCompilationManager()
1646 ThreadPool* const thread_pool_;
1773 ThreadPool* thread_pool, in ResolveDexFile()
1944 ThreadPool* verify_thread_pool = in Verify()
2117 ThreadPool* thread_pool, in VerifyDexFile()
2184 ThreadPool* thread_pool, in SetVerifiedDexFile()
2626 ThreadPool* init_thread_pool = force_determinism in InitializeClasses()
2667 ThreadPool* thread_pool, in CompileDexFile()
2895 ThreadPool::Create("Compiler driver thread pool", parallel_count)); in InitializeThreadPools()
[all …]
/art/runtime/oat/
Doat_file_manager.h43 class ThreadPool; variable
171 std::unique_ptr<ThreadPool> verification_thread_pool_;
Doat_file_manager.cc858 ThreadPool::Create("Verification thread pool", /* num_threads= */ 1)); in RunBackgroundVerification()
Doat_file_assistant_test.cc1610 std::unique_ptr<ThreadPool> thread_pool( in TEST_F()
1611 ThreadPool::Create("Oat file assistant test thread pool", kNumThreads)); in TEST_F()
/art/runtime/gc/space/
Dlarge_object_space_test.cc164 std::unique_ptr<ThreadPool> thread_pool( in RaceTest()
165 ThreadPool::Create("Large object space test thread pool", kNumThreads)); in RaceTest()
Dimage_space.cc1058 ThreadPool* const pool = stpu.GetThreadPool(); in LoadImageFile()
/art/dex2oat/linker/
Delf_writer_quick.cc130 std::unique_ptr<ThreadPool> debug_info_thread_pool_;
260 debug_info_thread_pool_.reset(ThreadPool::Create("Mini-debug-info writer", 1)); in PrepareDebugInfo()
/art/runtime/gc/collector/
Dmark_sweep.cc674 MarkStackTask(ThreadPool* thread_pool, in MarkStackTask()
770 ThreadPool* const thread_pool_;
831 CardScanTask(ThreadPool* thread_pool, in CardScanTask()
882 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ScanGrayObjects()
993 RecursiveMarkTask(ThreadPool* thread_pool, in RecursiveMarkTask()
1031 ThreadPool* thread_pool = heap_->GetThreadPool(); in RecursiveMark()
1393 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); in ProcessMarkStackParallel()
Dmark_compact.cc1151 ThreadPool* pool = heap_->GetThreadPool(); in PrepareForCompaction()