Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 17190c64de02a4f98fb369fd0247b580bacbce50..ac0499af6658c08b274271420fa9239e2abd9993 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -4386,6 +4386,8 @@ void MarkCompactCollector::SweepSpaces() { |
#ifdef DEBUG |
state_ = SWEEP_SPACES; |
#endif |
+ heap()->FreeDeadArrayBuffers(); |
+ |
MoveEvacuationCandidatesToEndOfPagesList(); |
// Noncompacting collections simply sweep the spaces to clear the mark |