Home
last modified time | relevance | path

Searched refs:AddTask (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dthread_pool_test.cc68 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
83 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
93 thread_pool.AddTask(self, new CountTask(&bad_count)); in TEST_F()
109 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
134 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
135 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
157 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth)); in TEST_F()
196 thread_pool.AddTask(self, new NoPeerTask()); in TEST_F()
208 thread_pool.AddTask(self, new PeerTask()); in TEST_F()
Dmonitor_test.cc270 thread_pool.AddTask(self, new CreateTask(test, create_sleep, c_millis, c_expected)); in CommonWaitSetup()
272 thread_pool.AddTask(self, new InterruptTask(test, use_sleep, static_cast<uint64_t>(u_millis))); in CommonWaitSetup()
274 thread_pool.AddTask(self, new UseTask(test, use_sleep, u_millis, u_expected)); in CommonWaitSetup()
276 thread_pool.AddTask(self, new WatchdogTask(test)); in CommonWaitSetup()
362 thread_pool.AddTask(self, new TryLockTask(obj1)); in TEST_F()
Dbarrier_test.cc69 thread_pool.AddTask(self, new CheckWaitTask(&barrier, &count1, &count2)); in TEST_F()
120 thread_pool.AddTask(self, new CheckPassTask(&barrier, &count, num_sub_tasks)); in TEST_F()
Dthread_pool.h125 void AddTask(Thread* self, Task* task) REQUIRES(!task_queue_lock_);
Dthread_pool.cc113 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() function in art::ThreadPool
Doat_file_manager.cc1009 verification_thread_pool_->AddTask(self, new BackgroundVerificationTask( in RunBackgroundVerification()
Doat_file_assistant_test.cc1256 thread_pool.AddTask(self, task.get()); in TEST_F()
/art/runtime/gc/
Dtask_processor_test.cc38 task_processor_->AddTask(self, in Run()
72 task_processor.AddTask(self, new RecursiveTask(&task_processor, &counter, kRecursion)); in TEST_F()
75 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F()
95 task_processor.AddTask(self, new RecursiveTask(&task_processor, &counter, kRecursion)); in TEST_F()
96 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F()
134 task_processor.AddTask(self, task); in TEST_F()
139 thread_pool.AddTask(self, new WorkUntilDoneTask(&task_processor, &done_running)); in TEST_F()
Dtask_processor.h57 void AddTask(Thread* self, HeapTask* task) REQUIRES(!lock_);
Dtask_processor.cc41 void TaskProcessor::AddTask(Thread* self, HeapTask* task) { in AddTask() function in art::gc::TaskProcessor
Dreference_processor.cc310 Runtime::Current()->GetHeap()->GetTaskProcessor()->AddTask( in CollectClearedReferences()
Dheap.cc3818 task_processor_->AddTask(self, new ConcurrentGCTask(NanoTime(), // Start straight away. in RequestConcurrentGC()
3888 task_processor_->AddTask(self, added_task); in RequestCollectorTransition()
3932 task_processor_->AddTask(self, added_task); in RequestTrim()
4429 GetTaskProcessor()->AddTask( in PostForkChildAction()
/art/runtime/jit/
Djit.cc711 thread_pool_->AddTask(Thread::Current(), new ZygoteTask()); in CreateThreadPool()
722 thread_pool_->AddTask(Thread::Current(), new JitProfileTask(dex_files, class_loader)); in RegisterDexFiles()
810 thread_pool_->AddTask(self, in CompileMethodsFromProfile()
883 thread_pool_->AddTask( in MaybeCompileMethod()
899 thread_pool_->AddTask(self, new JitCompileTask(method, JitCompileTask::TaskKind::kCompile)); in MaybeCompileMethod()
909 thread_pool_->AddTask( in MaybeCompileMethod()
/art/runtime/gc/space/
Dlarge_object_space_test.cc166 thread_pool.AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest()
Dimage_space.cc992 pool->AddTask(self, new FunctionTask(std::move(function))); in LoadImageFile()
/art/dex2oat/linker/
Delf_writer_quick.cc261 debug_info_thread_pool_->AddTask(self, debug_info_task_.get()); in PrepareDebugInfo()
/art/runtime/gc/collector/
Dmark_sweep.cc784 thread_pool_->AddTask(Thread::Current(), task); in MarkStackPush()
942 thread_pool->AddTask(self, task); in ScanGrayObjects()
1066 thread_pool->AddTask(self, task); in RecursiveMark()
1401 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it)); in ProcessMarkStackParallel()
/art/dex2oat/driver/
Dcompiler_driver.cc1449 thread_pool_->AddTask(self, new ForAllClosureLambda<Fn>(this, end, fn)); in ForAllLambda()