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

Unified Diff: runtime/vm/isolate.cc

Issue 9655011: Implement prologue weak persistent handles. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: final revision Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index c3e33dac18eeaebdd3e88988844d917ee1bae7f8..f59abad2bc6e4b54ed5b609db7eedcc8b51f4a77 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -432,6 +432,7 @@ RawError* Isolate::StandardRunLoop() {
void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
+ bool visit_prologue_weak_handles,
bool validate_frames) {
ASSERT(visitor != NULL);
@@ -454,7 +455,7 @@ void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
// Visit the dart api state for all local and persistent handles.
if (api_state() != NULL) {
- api_state()->VisitObjectPointers(visitor);
+ api_state()->VisitObjectPointers(visitor, visit_prologue_weak_handles);
}
// Visit all objects in the code index table.
@@ -470,9 +471,10 @@ void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
}
-void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor) {
+void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor,
+ bool visit_prologue_weak_handles) {
if (api_state() != NULL) {
- api_state()->VisitWeakHandles(visitor);
+ api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles);
}
}
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698