Home
last modified time | relevance | path

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

/art/runtime/
Dthread_pool_test.cc69 thread_pool->AddTask(self, new CountTask(&count)); in TEST_F()
85 thread_pool->AddTask(self, new CountTask(&count)); in TEST_F()
95 thread_pool->AddTask(self, new CountTask(&bad_count)); in TEST_F()
112 thread_pool->AddTask(self, new CountTask(&count)); in TEST_F()
137 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
138 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
161 thread_pool->AddTask(self, new TreeTask(thread_pool.get(), &count, depth)); in TEST_F()
201 thread_pool->AddTask(self, new NoPeerTask()); in TEST_F()
214 thread_pool->AddTask(self, new PeerTask()); in TEST_F()
Dmonitor_test.cc282 thread_pool->AddTask(self, new CreateTask(test, create_sleep, c_millis, c_expected)); in CommonWaitSetup()
284 thread_pool->AddTask(self, new InterruptTask(test, use_sleep, static_cast<uint64_t>(u_millis))); in CommonWaitSetup()
286 thread_pool->AddTask(self, new UseTask(test, use_sleep, u_millis, u_expected)); in CommonWaitSetup()
288 thread_pool->AddTask(self, new WatchdogTask(test)); in CommonWaitSetup()
378 thread_pool->AddTask(self, new TryLockTask(g_obj1)); in TEST_F()
Dbarrier_test.cc74 thread_pool->AddTask(self, new CheckWaitTask(&barrier, &count1, &count2)); in TEST_F()
126 thread_pool->AddTask(self, new CheckPassTask(&barrier, &count, num_sub_tasks)); in TEST_F()
Dthread_pool.h132 virtual void AddTask(Thread* self, Task* task) REQUIRES(!task_queue_lock_) = 0;
230 void AddTask(Thread* self, Task* task) REQUIRES(!task_queue_lock_) override;
Dthread_pool.cc162 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask() function in art::ThreadPool
Dtrace.cc624 thread_pool_->AddTask( in AddMethodInfoWriteTask()
1647 thread_pool_->AddTask( in FlushBuffer()
/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.h58 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.cc392 Runtime::Current()->GetHeap()->GetTaskProcessor()->AddTask( in CollectClearedReferences()
Dheap.cc3980 task_processor_->AddTask(self, new ConcurrentGCTask(NanoTime(), // Start straight away. in RequestConcurrentGC()
4075 task_processor_->AddTask(self, added_task); in RequestCollectorTransition()
4119 task_processor_->AddTask(self, added_task); in RequestTrim()
4760 GetTaskProcessor()->AddTask( in PostForkChildAction()
4767 GetTaskProcessor()->AddTask( in PostForkChildAction()
4776 GetTaskProcessor()->AddTask(self, in PostForkChildAction()
4809 GetTaskProcessor()->AddTask(self, task); in AddHeapTask()
/art/runtime/jit/
Djit.cc1112 thread_pool_->AddTask(Thread::Current(), new ZygoteVerificationTask()); in CreateThreadPool()
1118 thread_pool_->AddTask(Thread::Current(), new ZygoteTask()); in CreateThreadPool()
1212 thread_pool_->AddTask(Thread::Current(), new JitProfileTask(dex_files, class_loader)); in RegisterDexFiles()
1219 thread_pool_->AddTask(self, method, compilation_kind); in AddCompileTask()
1262 thread_pool_->AddTask(self, task); in CompileMethodFromProfile()
1623 thread_pool_->AddTask(self, task); in AddPostBootTask()
1638 thread_pool_->AddTask(self, task); in BootCompleted()
1778 void JitThreadPool::AddTask(Thread* self, Task* task) { in AddTask() function in art::jit::JitThreadPool
1793 void JitThreadPool::AddTask(Thread* self, ArtMethod* method, CompilationKind kind) { in AddTask() function in art::jit::JitThreadPool
Djit.h126 void AddTask(Thread* self, Task* task) REQUIRES(!task_queue_lock_) override;
135 void AddTask(Thread* self, ArtMethod* method, CompilationKind kind) REQUIRES(!task_queue_lock_);
Djit_code_cache.cc1195 pool->AddTask(Thread::Current(), new JitGcTask()); in AddZombieCodeInternal()
/art/runtime/gc/space/
Dlarge_object_space_test.cc167 thread_pool->AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest()
Dimage_space.cc1081 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.cc785 thread_pool_->AddTask(Thread::Current(), task); in MarkStackPush()
942 thread_pool->AddTask(self, task); in ScanGrayObjects()
1063 thread_pool->AddTask(self, task); in RecursiveMark()
1400 thread_pool->AddTask(self, new MarkStackTask<false>(thread_pool, this, delta, it)); in ProcessMarkStackParallel()
Dmark_compact.cc1161 pool->AddTask(thread_running_gc_, new ConcurrentCompactionGcTask(this, i + 1)); in PrepareForCompaction()
/art/runtime/oat/
Doat_file_manager.cc862 verification_thread_pool_->AddTask(self, new BackgroundVerificationTask( in RunBackgroundVerification()
Doat_file_assistant_test.cc1617 thread_pool->AddTask(self, task.get()); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver.cc1592 thread_pool_->AddTask(self, new ForAllClosureLambda<Fn>(this, end, fn)); in ForAllLambda()