OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/heap/gc-idle-time-handler.h" | 5 #include "src/heap/gc-idle-time-handler.h" |
6 | 6 |
7 #include "src/flags.h" | 7 #include "src/flags.h" |
8 #include "src/heap/gc-tracer.h" | 8 #include "src/heap/gc-tracer.h" |
9 #include "src/utils.h" | 9 #include "src/utils.h" |
10 | 10 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 } | 179 } |
180 | 180 |
181 if (!FLAG_incremental_marking || heap_state.incremental_marking_stopped) { | 181 if (!FLAG_incremental_marking || heap_state.incremental_marking_stopped) { |
182 return GCIdleTimeAction::Done(); | 182 return GCIdleTimeAction::Done(); |
183 } | 183 } |
184 | 184 |
185 return GCIdleTimeAction::IncrementalStep(); | 185 return GCIdleTimeAction::IncrementalStep(); |
186 } | 186 } |
187 | 187 |
188 | 188 |
189 } | 189 } // namespace internal |
190 } | 190 } // namespace v8 |
OLD | NEW |