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

Unified Diff: runtime/vm/scavenger.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/scavenger.h
diff --git a/runtime/vm/scavenger.h b/runtime/vm/scavenger.h
index 6aee9f81e784d89053d8fe47e22a8d406fcab1ef..34e1ecd0dc073a47b1c8eb1836c1589f245e5a29 100644
--- a/runtime/vm/scavenger.h
+++ b/runtime/vm/scavenger.h
@@ -70,6 +70,7 @@ class Scavenger {
uword FirstObjectStart() const { return to_->start() | object_alignment_; }
void Prologue();
void IterateRoots(Isolate* isolate, ObjectPointerVisitor* visitor);
+ void IterateWeakRoots(Isolate* isolate, ObjectPointerVisitor* visitor);
void ProcessToSpace(ObjectPointerVisitor* visitor);
void Epilogue();
@@ -93,6 +94,7 @@ class Scavenger {
bool scavenging_;
friend class ScavengerVisitor;
+ friend class ScavengerWeakVisitor;
DISALLOW_COPY_AND_ASSIGN(Scavenger);
};
« runtime/include/dart_api.h ('K') | « runtime/vm/isolate.cc ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698