Searched refs:HeapTask (Results 1 - 5 of 5) sorted by relevance

/art/runtime/gc/
H A Dtask_processor.h30 class HeapTask : public SelfDeletingTask { class in namespace:art::gc
32 explicit HeapTask(uint64_t target_run_time) : target_run_time_(target_run_time) { function in class:art::gc::HeapTask
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 {
80 std::multiset<HeapTask*, CompareByTargetRunTime> tasks_ GUARDED_BY(lock_);
H A Dtask_processor.cc36 void TaskProcessor::AddTask(Thread* self, HeapTask* task) {
43 HeapTask* TaskProcessor::GetTask(Thread* self) {
55 HeapTask* task = *tasks_.begin();
74 void TaskProcessor::UpdateTargetRunTime(Thread* self, HeapTask* task, uint64_t new_target_time) {
122 HeapTask* task = GetTask(self);
H A Dtask_processor_test.cc30 class RecursiveTask : public HeapTask {
33 : HeapTask(NanoTime() + MsToNs(10)), task_processor_(task_processor), counter_(counter),
103 class TestOrderTask : public HeapTask {
106 : HeapTask(expected_time), expected_counter_(expected_counter), counter_(counter) {
H A Dreference_processor.cc221 class ClearedReferenceTask : public HeapTask {
224 : HeapTask(NanoTime()), cleared_references_(cleared_references) {
H A Dheap.cc3680 class Heap::ConcurrentGCTask : public HeapTask {
3683 : HeapTask(target_time), force_full_(force_full) { }
3738 class Heap::CollectorTransitionTask : public HeapTask {
3740 explicit CollectorTransitionTask(uint64_t target_time) : HeapTask(target_time) {}
3775 class Heap::HeapTrimTask : public HeapTask {
3777 explicit HeapTrimTask(uint64_t delta_time) : HeapTask(NanoTime() + delta_time) { }

Completed in 103 milliseconds