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 #include "src/heap/incremental-marking.h" | 5 #include "src/heap/incremental-marking.h" |
6 | 6 |
7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
8 #include "src/compilation-cache.h" | 8 #include "src/compilation-cache.h" |
9 #include "src/conversions.h" | 9 #include "src/conversions.h" |
10 #include "src/heap/gc-idle-time-handler.h" | 10 #include "src/heap/gc-idle-time-handler.h" |
11 #include "src/heap/gc-tracer.h" | 11 #include "src/heap/gc-tracer.h" |
12 #include "src/heap/mark-compact-inl.h" | 12 #include "src/heap/mark-compact-inl.h" |
13 #include "src/heap/objects-visiting-inl.h" | |
ulan
2016/03/09 14:37:49
Let's now change this file. Probably git cl format
Marcel Hlopko
2016/03/09 17:20:23
Done.
| |
13 #include "src/heap/objects-visiting.h" | 14 #include "src/heap/objects-visiting.h" |
14 #include "src/heap/objects-visiting-inl.h" | |
15 #include "src/tracing/trace-event.h" | 15 #include "src/tracing/trace-event.h" |
16 #include "src/v8.h" | 16 #include "src/v8.h" |
17 | 17 |
18 namespace v8 { | 18 namespace v8 { |
19 namespace internal { | 19 namespace internal { |
20 | 20 |
21 IncrementalMarking::StepActions IncrementalMarking::IdleStepActions() { | 21 IncrementalMarking::StepActions IncrementalMarking::IdleStepActions() { |
22 return StepActions(IncrementalMarking::NO_GC_VIA_STACK_GUARD, | 22 return StepActions(IncrementalMarking::NO_GC_VIA_STACK_GUARD, |
23 IncrementalMarking::FORCE_MARKING, | 23 IncrementalMarking::FORCE_MARKING, |
24 IncrementalMarking::DO_NOT_FORCE_COMPLETION); | 24 IncrementalMarking::DO_NOT_FORCE_COMPLETION); |
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1244 void IncrementalMarking::IncrementIdleMarkingDelayCounter() { | 1244 void IncrementalMarking::IncrementIdleMarkingDelayCounter() { |
1245 idle_marking_delay_counter_++; | 1245 idle_marking_delay_counter_++; |
1246 } | 1246 } |
1247 | 1247 |
1248 | 1248 |
1249 void IncrementalMarking::ClearIdleMarkingDelayCounter() { | 1249 void IncrementalMarking::ClearIdleMarkingDelayCounter() { |
1250 idle_marking_delay_counter_ = 0; | 1250 idle_marking_delay_counter_ = 0; |
1251 } | 1251 } |
1252 } // namespace internal | 1252 } // namespace internal |
1253 } // namespace v8 | 1253 } // namespace v8 |
OLD | NEW |