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

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

Issue 1301183002: [heap] Cleanup and fix GC flags / add testing infra (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed Hannes' comments 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 #include "src/execution.h" 8 #include "src/execution.h"
9 #include "src/heap/mark-compact.h" 9 #include "src/heap/mark-compact.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 75
76 GCRequestType request_type() const { return request_type_; } 76 GCRequestType request_type() const { return request_type_; }
77 77
78 bool CanBeActivated(); 78 bool CanBeActivated();
79 79
80 bool ShouldActivateEvenWithoutIdleNotification(); 80 bool ShouldActivateEvenWithoutIdleNotification();
81 81
82 bool WasActivated(); 82 bool WasActivated();
83 83
84 void Start(int mark_compact_flags, 84 void Start(int flags,
85 const GCCallbackFlags gc_callback_flags = kNoGCCallbackFlags, 85 const GCCallbackFlags gc_callback_flags = kNoGCCallbackFlags,
86 const char* reason = nullptr); 86 const char* reason = nullptr);
87 87
88 void MarkObjectGroups(); 88 void MarkObjectGroups();
89 89
90 void UpdateMarkingDequeAfterScavenge(); 90 void UpdateMarkingDequeAfterScavenge();
91 91
92 void Hurry(); 92 void Hurry();
93 93
94 void Finalize(); 94 void Finalize();
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 GCRequestType request_type_; 260 GCRequestType request_type_;
261 261
262 GCCallbackFlags gc_callback_flags_; 262 GCCallbackFlags gc_callback_flags_;
263 263
264 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 264 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
265 }; 265 };
266 } 266 }
267 } // namespace v8::internal 267 } // namespace v8::internal
268 268
269 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 269 #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