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

Unified Diff: src/heap/mark-compact.cc

Issue 777643002: Check whether the marking deque overflowed in ProcessEphemeralMarking (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.cc
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
index 27d257980f281c9067d264f8e239bda5d198a481..3fd9e255c5b9bcd27a1ca304c95683b31b0bf1d8 100644
--- a/src/heap/mark-compact.cc
+++ b/src/heap/mark-compact.cc
@@ -2099,7 +2099,7 @@ void MarkCompactCollector::ProcessEphemeralMarking(
MarkImplicitRefGroups();
}
ProcessWeakCollections();
- work_to_do = !marking_deque_.IsEmpty();
+ work_to_do = !marking_deque_.IsEmpty() || marking_deque_.overflowed();
Erik Corry 2014/12/03 12:46:21 It would be better to improve MarkCompactCollector
Hannes Payer (out of office) 2014/12/03 13:18:24 Let's do that.
ProcessMarkingDeque();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698