Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 44fa6b834dcc544b8bc29f15a9801b6f41527ac6..1daaed5fb2a72eac4fddc80cb87d0bbf6edb6c41 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -286,8 +286,8 @@ bool MarkCompactCollector::StartCompaction(CompactionMode mode) { |
TraceFragmentation(heap()->map_space()); |
} |
- heap()->old_space()->EvictEvacuationCandidatesFromFreeLists(); |
- heap()->code_space()->EvictEvacuationCandidatesFromFreeLists(); |
+ heap()->old_space()->EvictEvacuationCandidatesFromLinearAllocationArea(); |
+ heap()->code_space()->EvictEvacuationCandidatesFromLinearAllocationArea(); |
compacting_ = evacuation_candidates_.length() > 0; |
} |