Searched refs:HeapTask (Results 1 – 7 of 7) sorted by relevance
/art/runtime/gc/ |
D | task_processor.h | 31 class HeapTask : public SelfDeletingTask { 33 explicit HeapTask(uint64_t target_run_time) : target_run_time_(target_run_time) { in HeapTask() function 50 DISALLOW_IMPLICIT_CONSTRUCTORS(HeapTask); 58 void AddTask(Thread* self, HeapTask* task) REQUIRES(!lock_); 59 HeapTask* GetTask(Thread* self) REQUIRES(!lock_); 66 void UpdateTargetRunTime(Thread* self, HeapTask* target_time, uint64_t new_target_time) 79 bool operator()(const HeapTask* a, const HeapTask* b) const { in operator() 87 std::multiset<HeapTask*, CompareByTargetRunTime> tasks_ GUARDED_BY(lock_);
|
D | task_processor.cc | 35 for (HeapTask* task : tasks_) { in ~TaskProcessor() 41 void TaskProcessor::AddTask(Thread* self, HeapTask* task) { in AddTask() 48 HeapTask* TaskProcessor::GetTask(Thread* self) { in GetTask() 60 HeapTask* task = *tasks_.begin(); in GetTask() 79 void TaskProcessor::UpdateTargetRunTime(Thread* self, HeapTask* task, uint64_t new_target_time) { in UpdateTargetRunTime() 149 HeapTask* task = GetTask(self); in RunAllTasks()
|
D | task_processor_test.cc | 30 class RecursiveTask : public HeapTask { 33 : HeapTask(NanoTime() + MsToNs(10)), task_processor_(task_processor), counter_(counter), in RecursiveTask() 103 class TestOrderTask : public HeapTask { 106 : HeapTask(expected_time), expected_counter_(expected_counter), counter_(counter) { in TestOrderTask()
|
D | reference_processor.cc | 359 class ClearedReferenceTask : public HeapTask { 362 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
|
D | heap.cc | 3946 class Heap::ConcurrentGCTask : public HeapTask { 3949 : HeapTask(target_time), cause_(cause), force_full_(force_full), my_gc_num_(gc_num) {} in ConcurrentGCTask() 4030 class Heap::CollectorTransitionTask : public HeapTask { 4032 explicit CollectorTransitionTask(uint64_t target_time) : HeapTask(target_time) {} in CollectorTransitionTask() 4078 class Heap::HeapTrimTask : public HeapTask { 4080 explicit HeapTrimTask(uint64_t delta_time) : HeapTask(NanoTime() + delta_time) { } in HeapTrimTask() 4687 class Heap::TriggerPostForkCCGcTask : public HeapTask { 4690 HeapTask(target_time), initial_gc_num_(initial_gc_num) {} in TriggerPostForkCCGcTask() 4706 class Heap::ReduceTargetFootprintTask : public HeapTask { 4710 HeapTask(target_time), new_target_sz_(new_target_sz), initial_gc_num_(initial_gc_num) {} in ReduceTargetFootprintTask() [all …]
|
D | heap.h | 76 class HeapTask; variable 1008 bool AddHeapTask(gc::HeapTask* task);
|
/art/runtime/ |
D | startup_completed_task.h | 27 class StartupCompletedTask : public gc::HeapTask { 29 explicit StartupCompletedTask(uint64_t target_run_time) : gc::HeapTask(target_run_time) {} in StartupCompletedTask()
|