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

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

Issue 1279043002: [heap] Rename IncrementalMarking::Abort to Stop. (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 | « no previous file | 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool CanBeActivated(); 79 bool CanBeActivated();
80 80
81 bool ShouldActivateEvenWithoutIdleNotification(); 81 bool ShouldActivateEvenWithoutIdleNotification();
82 82
83 bool WasActivated(); 83 bool WasActivated();
84 84
85 void Start(int mark_compact_flags, 85 void Start(int mark_compact_flags,
86 const GCCallbackFlags gc_callback_flags = kNoGCCallbackFlags, 86 const GCCallbackFlags gc_callback_flags = kNoGCCallbackFlags,
87 const char* reason = nullptr); 87 const char* reason = nullptr);
88 88
89 void Stop();
90
91 void MarkObjectGroups(); 89 void MarkObjectGroups();
92 90
93 void UpdateMarkingDequeAfterScavenge(); 91 void UpdateMarkingDequeAfterScavenge();
94 92
95 void Hurry(); 93 void Hurry();
96 94
97 void Finalize(); 95 void Finalize();
98 96
99 void Abort(); 97 void Stop();
100 98
101 void OverApproximateWeakClosure(CompletionAction action); 99 void OverApproximateWeakClosure(CompletionAction action);
102 100
103 void MarkingComplete(CompletionAction action); 101 void MarkingComplete(CompletionAction action);
104 102
105 void Epilogue(); 103 void Epilogue();
106 104
107 // It's hard to know how much work the incremental marker should do to make 105 // It's hard to know how much work the incremental marker should do to make
108 // progress in the face of the mutator creating new work for it. We start 106 // progress in the face of the mutator creating new work for it. We start
109 // of at a moderate rate of work and gradually increase the speed of the 107 // of at a moderate rate of work and gradually increase the speed of the
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 GCRequestType request_type_; 261 GCRequestType request_type_;
264 262
265 GCCallbackFlags gc_callback_flags_; 263 GCCallbackFlags gc_callback_flags_;
266 264
267 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 265 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
268 }; 266 };
269 } 267 }
270 } // namespace v8::internal 268 } // namespace v8::internal
271 269
272 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 270 #endif // V8_HEAP_INCREMENTAL_MARKING_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698