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

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

Issue 1773273002: Add flag to trace object groups (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Simplified the code Created 4 years, 9 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
« src/heap/heap.cc ('K') | « src/heap/incremental-marking.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-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
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
OLDNEW
« src/heap/heap.cc ('K') | « src/heap/incremental-marking.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698