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

Unified Diff: runtime/vm/gc_marker.h

Issue 8984006: Implement weak persistent handles in the Dart API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/gc_marker.h
diff --git a/runtime/vm/gc_marker.h b/runtime/vm/gc_marker.h
index 4d46fd52eb76783264592b6b8815bb802535ad9c..6ff5ae3c9c5b24ab11ea9bdb8cfebedb7f927f86 100644
--- a/runtime/vm/gc_marker.h
+++ b/runtime/vm/gc_marker.h
@@ -13,6 +13,7 @@ namespace dart {
class Heap;
class Isolate;
class MarkingVisitor;
+class ObjectPointerVisitor;
class PageSpace;
// The class GCMarker is used to mark reachable old generation objects as part
@@ -26,7 +27,8 @@ class GCMarker : public ValueObject {
private:
void Prologue(Isolate* isolate);
- void IterateRoots(Isolate* isolate, MarkingVisitor* visitor);
+ void IterateRoots(Isolate* isolate, ObjectPointerVisitor* visitor);
+ void IterateWeakRoots(Isolate* isolate, ObjectPointerVisitor* visitor);
void DrainMarkingStack(Isolate* isolate, MarkingVisitor* visitor);
Heap* heap_;

Powered by Google App Engine
This is Rietveld 408576698