Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index 70e482f4448b9ad3a5df0a0588667e2d186ce3eb..9af09270698ed00ae5f38c74044f1015f0f788fc 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -2612,7 +2612,7 @@ bool PagedSpace::EnsureSweeperProgress(intptr_t size_in_bytes) { |
MarkCompactCollector* collector = heap()->mark_compact_collector(); |
if (collector->AreSweeperThreadsActivated()) { |
if (collector->IsConcurrentSweepingInProgress()) { |
- if (collector->StealMemoryFromSweeperThreads(this) < size_in_bytes) { |
+ if (collector->RefillFreeLists(this) < size_in_bytes) { |
if (!collector->sequential_sweeping()) { |
collector->WaitUntilSweepingCompleted(); |
return true; |