Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(863)

Side by Side Diff: src/heap/incremental-marking.cc

Issue 1294763004: [heap] Hide GCTracer inside the heap component. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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-tracer.h"
10 #include "src/heap/mark-compact-inl.h" 11 #include "src/heap/mark-compact-inl.h"
11 #include "src/heap/objects-visiting.h" 12 #include "src/heap/objects-visiting.h"
12 #include "src/heap/objects-visiting-inl.h" 13 #include "src/heap/objects-visiting-inl.h"
13 14
14 namespace v8 { 15 namespace v8 {
15 namespace internal { 16 namespace internal {
16 17
17 18
18 IncrementalMarking::StepActions IncrementalMarking::IdleStepActions() { 19 IncrementalMarking::StepActions IncrementalMarking::IdleStepActions() {
19 return StepActions(IncrementalMarking::NO_GC_VIA_STACK_GUARD, 20 return StepActions(IncrementalMarking::NO_GC_VIA_STACK_GUARD,
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 void IncrementalMarking::IncrementIdleMarkingDelayCounter() { 1022 void IncrementalMarking::IncrementIdleMarkingDelayCounter() {
1022 idle_marking_delay_counter_++; 1023 idle_marking_delay_counter_++;
1023 } 1024 }
1024 1025
1025 1026
1026 void IncrementalMarking::ClearIdleMarkingDelayCounter() { 1027 void IncrementalMarking::ClearIdleMarkingDelayCounter() {
1027 idle_marking_delay_counter_ = 0; 1028 idle_marking_delay_counter_ = 0;
1028 } 1029 }
1029 } // namespace internal 1030 } // namespace internal
1030 } // namespace v8 1031 } // namespace v8
OLDNEW
« src/heap/heap.h ('K') | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698