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

Unified Diff: src/builtins.cc

Issue 6542047: Basic implementation of incremental marking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 10 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
Index: src/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index dcca30a2c609c6593aeb11829a31b25f8d1bc6ac..159c2a0eb5da2e1d162090d3ffa3744aa98bd813 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -295,6 +295,7 @@ static void CopyElements(AssertNoAllocation* no_gc,
if (mode == UPDATE_WRITE_BARRIER) {
Heap::RecordWrites(dst->address(), dst->OffsetOfElementAt(dst_index), len);
}
+ IncrementalMarking::RecordWrites(dst);
}
@@ -312,6 +313,7 @@ static void MoveElements(AssertNoAllocation* no_gc,
if (mode == UPDATE_WRITE_BARRIER) {
Heap::RecordWrites(dst->address(), dst->OffsetOfElementAt(dst_index), len);
}
+ IncrementalMarking::RecordWrites(dst);
}

Powered by Google App Engine
This is Rietveld 408576698