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

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

Issue 997423002: Use the incremental root marking visitor for overapproximating the weak closure (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 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
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool ShouldActivate(); 60 bool ShouldActivate();
61 61
62 bool WasActivated(); 62 bool WasActivated();
63 63
64 enum CompactionFlag { ALLOW_COMPACTION, PREVENT_COMPACTION }; 64 enum CompactionFlag { ALLOW_COMPACTION, PREVENT_COMPACTION };
65 65
66 void Start(CompactionFlag flag = ALLOW_COMPACTION); 66 void Start(CompactionFlag flag = ALLOW_COMPACTION);
67 67
68 void Stop(); 68 void Stop();
69 69
70 void MarkObjectGroups();
71
70 void PrepareForScavenge(); 72 void PrepareForScavenge();
71 73
72 void UpdateMarkingDequeAfterScavenge(); 74 void UpdateMarkingDequeAfterScavenge();
73 75
74 void Hurry(); 76 void Hurry();
75 77
76 void Finalize(); 78 void Finalize();
77 79
78 void Abort(); 80 void Abort();
79 81
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 bool weak_closure_was_overapproximated_; 246 bool weak_closure_was_overapproximated_;
245 247
246 GCRequestType request_type_; 248 GCRequestType request_type_;
247 249
248 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); 250 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking);
249 }; 251 };
250 } 252 }
251 } // namespace v8::internal 253 } // namespace v8::internal
252 254
253 #endif // V8_HEAP_INCREMENTAL_MARKING_H_ 255 #endif // V8_HEAP_INCREMENTAL_MARKING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698