Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index f5ed3d1d8d6872dd2e312bdaa57b139881d7eba7..5bf94e41ca5a017dda93d7d660f22ad990eebc78 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -898,7 +898,7 @@ void MarkCompactCollector::Prepare() { |
space = spaces.next()) { |
space->PrepareForMarkCompact(); |
} |
- heap()->account_amount_of_external_allocated_freed_memory(); |
+ heap()->account_external_memory_concurrently_freed(); |
#ifdef VERIFY_HEAP |
if (!was_marked_incrementally_ && FLAG_verify_heap) { |