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

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

Issue 1094843002: Rename some things around incremental marking triggers (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 #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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 inline bool IsComplete() { return state() == COMPLETE; } 58 inline bool IsComplete() { return state() == COMPLETE; }
59 59
60 inline bool IsReadyToOverApproximateWeakClosure() const { 60 inline bool IsReadyToOverApproximateWeakClosure() const {
61 return request_type_ == OVERAPPROXIMATION && 61 return request_type_ == OVERAPPROXIMATION &&
62 !weak_closure_was_overapproximated_; 62 !weak_closure_was_overapproximated_;
63 } 63 }
64 64
65 GCRequestType request_type() const { return request_type_; } 65 GCRequestType request_type() const { return request_type_; }
66 66
67 bool WorthActivating(); 67 bool CanBeActivated();
68 68
69 bool ShouldActivate(); 69 bool ShouldActivateEvenWithoutIdleNotification();
70 70
71 bool WasActivated(); 71 bool WasActivated();
72 72
73 void Start(); 73 void Start();
74 74
75 void Stop(); 75 void Stop();
76 76
77 void MarkObjectGroups(); 77 void MarkObjectGroups();
78 78
79 void PrepareForScavenge(); 79 void PrepareForScavenge();
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 int weak_closure_approximation_rounds_; 261 int weak_closure_approximation_rounds_;
262 262
263 GCRequestType request_type_; 263 GCRequestType request_type_;
264 264
265 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 265 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
266 }; 266 };
267 } 267 }
268 } // namespace v8::internal 268 } // namespace v8::internal
269 269
270 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 270 #endif // V8_HEAP_INCREMENTAL_MARKING_H_
OLDNEW
« src/heap/heap.h ('K') | « 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