Searched refs:HeapTask (Results 1 – 5 of 5) sorted by relevance
/art/runtime/gc/ |
D | task_processor.h | 30 class HeapTask : public SelfDeletingTask { 32 explicit HeapTask(uint64_t target_run_time) : target_run_time_(target_run_time) { in HeapTask() function 49 DISALLOW_IMPLICIT_CONSTRUCTORS(HeapTask); 57 void AddTask(Thread* self, HeapTask* task) REQUIRES(!*lock_); 58 HeapTask* GetTask(Thread* self) REQUIRES(!*lock_); 65 void UpdateTargetRunTime(Thread* self, HeapTask* target_time, uint64_t new_target_time) 72 bool operator()(const HeapTask* a, const HeapTask* b) const { in operator() 80 std::multiset<HeapTask*, CompareByTargetRunTime> tasks_ GUARDED_BY(lock_);
|
D | task_processor.cc | 36 void TaskProcessor::AddTask(Thread* self, HeapTask* task) { in AddTask() 43 HeapTask* TaskProcessor::GetTask(Thread* self) { in GetTask() 55 HeapTask* task = *tasks_.begin(); in GetTask() 74 void TaskProcessor::UpdateTargetRunTime(Thread* self, HeapTask* task, uint64_t new_target_time) { in UpdateTargetRunTime() 122 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 | 221 class ClearedReferenceTask : public HeapTask { 224 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
|
D | heap.cc | 3680 class Heap::ConcurrentGCTask : public HeapTask { 3683 : HeapTask(target_time), force_full_(force_full) { } in ConcurrentGCTask() 3738 class Heap::CollectorTransitionTask : public HeapTask { 3740 explicit CollectorTransitionTask(uint64_t target_time) : HeapTask(target_time) {} in CollectorTransitionTask() 3775 class Heap::HeapTrimTask : public HeapTask { 3777 explicit HeapTrimTask(uint64_t delta_time) : HeapTask(NanoTime() + delta_time) { } in HeapTrimTask()
|