Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 9c481b09a9d326b4bd59fdbf79d431404008dc11..176267536e965304f676069295011ab983ddf1ee 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -2213,10 +2213,8 @@ void MarkCompactCollector::MarkLiveObjects() { |
&IsUnmarkedHeapObject); |
// Then we mark the objects and process the transitive closure. |
heap()->isolate()->global_handles()->IterateWeakRoots(&root_visitor); |
- while (marking_deque_.overflowed()) { |
- RefillMarkingDeque(); |
- EmptyMarkingDeque(); |
- } |
+ |
+ ProcessMarkingDeque(); |
// Repeat host application specific and Harmony weak maps marking to |
// mark unmarked objects reachable from the weak roots. |