OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_HEAP_INCREMENTAL_MARKING_JOB_H_ | 5 #ifndef V8_HEAP_INCREMENTAL_MARKING_JOB_H_ |
6 #define V8_HEAP_INCREMENTAL_MARKING_JOB_H_ | 6 #define V8_HEAP_INCREMENTAL_MARKING_JOB_H_ |
7 | 7 |
8 #include "src/cancelable-task.h" | 8 #include "src/cancelable-task.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 void NotifyDelayedTask(); | 68 void NotifyDelayedTask(); |
69 void NotifyIdleTaskProgress(); | 69 void NotifyIdleTaskProgress(); |
70 void ScheduleIdleTask(Heap* heap); | 70 void ScheduleIdleTask(Heap* heap); |
71 void ScheduleDelayedTask(Heap* heap); | 71 void ScheduleDelayedTask(Heap* heap); |
72 | 72 |
73 private: | 73 private: |
74 bool idle_task_pending_; | 74 bool idle_task_pending_; |
75 bool delayed_task_pending_; | 75 bool delayed_task_pending_; |
76 bool made_progress_since_last_delayed_task_; | 76 bool made_progress_since_last_delayed_task_; |
77 }; | 77 }; |
78 } | 78 } // namespace internal |
79 } // namespace v8::internal | 79 } // namespace v8 |
80 | 80 |
81 #endif // V8_HEAP_INCREMENTAL_MARKING_JOB_H_ | 81 #endif // V8_HEAP_INCREMENTAL_MARKING_JOB_H_ |
OLD | NEW |