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

Unified Diff: src/mark-compact.cc

Issue 6715028: Preserve marking bits across scavenges if incremental marker is running. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: fix review comments, add more tracing Created 9 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 | « src/mark-compact.h ('k') | src/objects-visiting.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.cc
diff --git a/src/mark-compact.cc b/src/mark-compact.cc
index fecc70f191137c166a3f0a50fd18a48826e7e6a7..dabc0f67065c04665226bc310965a730d18b9aa4 100644
--- a/src/mark-compact.cc
+++ b/src/mark-compact.cc
@@ -247,8 +247,8 @@ void Marking::TransferMark(Address old_start, Address new_start) {
old_mark_bit.Clear();
} else if (IncrementalMarking::IsGrey(old_mark_bit)) {
old_mark_bit.Next().Clear();
- IncrementalMarking::WhiteToGrey(HeapObject::FromAddress(new_start),
- new_mark_bit);
+ IncrementalMarking::WhiteToGreyAndPush(HeapObject::FromAddress(new_start),
+ new_mark_bit);
IncrementalMarking::RestartIfNotMarking();
// TODO(gc): if we shift huge array in the loop we might end up pushing
// to much to marking stack. maybe we should check one or two elements
« no previous file with comments | « src/mark-compact.h ('k') | src/objects-visiting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698