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

Unified Diff: runtime/vm/pages.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/pages.h ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.cc
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc
index 052329c582ddb69263d8a0d9a738a0f4820836f0..3c9afd6587d7aa0cdc83ea949c2fc8cf31f39aa8 100644
--- a/runtime/vm/pages.cc
+++ b/runtime/vm/pages.cc
@@ -206,7 +206,7 @@ void PageSpace::VisitObjectPointers(ObjectPointerVisitor* visitor) const {
}
-void PageSpace::MarkSweep() {
+void PageSpace::MarkSweep(bool invoke_api_callbacks) {
// MarkSweep is not reentrant. Make sure that is the case.
ASSERT(!sweeping_);
sweeping_ = true;
@@ -224,7 +224,7 @@ void PageSpace::MarkSweep() {
// Mark all reachable old-gen objects.
GCMarker marker(heap_);
- marker.MarkObjects(isolate, this);
+ marker.MarkObjects(isolate, this, invoke_api_callbacks);
// Reset the freelists and setup sweeping.
freelist_.Reset();
« no previous file with comments | « runtime/vm/pages.h ('k') | runtime/vm/scavenger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698