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

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

Issue 1275573002: Fix idle step marking after 9d7ebc. (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
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/incremental-marking.cc » ('j') | 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 #ifndef V8_HEAP_INCREMENTAL_MARKING_H_ 5 #ifndef V8_HEAP_INCREMENTAL_MARKING_H_
6 #define V8_HEAP_INCREMENTAL_MARKING_H_ 6 #define V8_HEAP_INCREMENTAL_MARKING_H_
7 7
8 8
9 #include "src/execution.h" 9 #include "src/execution.h"
10 #include "src/heap/mark-compact.h" 10 #include "src/heap/mark-compact.h"
(...skipping 21 matching lines...) Expand all
32 ForceCompletionAction force_completion_) 32 ForceCompletionAction force_completion_)
33 : completion_action(complete_action_), 33 : completion_action(complete_action_),
34 force_marking(force_marking_), 34 force_marking(force_marking_),
35 force_completion(force_completion_) {} 35 force_completion(force_completion_) {}
36 36
37 CompletionAction completion_action; 37 CompletionAction completion_action;
38 ForceMarkingAction force_marking; 38 ForceMarkingAction force_marking;
39 ForceCompletionAction force_completion; 39 ForceCompletionAction force_completion;
40 }; 40 };
41 41
42 static StepActions NoForcedStepActions(); 42 static StepActions IdleStepActions();
43 43
44 explicit IncrementalMarking(Heap* heap); 44 explicit IncrementalMarking(Heap* heap);
45 45
46 static void Initialize(); 46 static void Initialize();
47 47
48 State state() { 48 State state() {
49 DCHECK(state_ == STOPPED || FLAG_incremental_marking); 49 DCHECK(state_ == STOPPED || FLAG_incremental_marking);
50 return state_; 50 return state_;
51 } 51 }
52 52
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 GCRequestType request_type_; 263 GCRequestType request_type_;
264 264
265 GCCallbackFlags gc_callback_flags_; 265 GCCallbackFlags gc_callback_flags_;
266 266
267 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 267 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
268 }; 268 };
269 } 269 }
270 } // namespace v8::internal 270 } // namespace v8::internal
271 271
272 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 272 #endif // V8_HEAP_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698