Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index 88e6983035cd618394b2d47bc44414b2a37ad7c0..2509d8ddf73f8c39a59c7b16f301d32d0e5b836e 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -2371,8 +2371,8 @@ void MarkCompactCollector::ClearNonLiveReferences() { |
string_table->ElementsRemoved(internalized_visitor.PointersRemoved()); |
ExternalStringTableCleaner external_visitor(heap(), nullptr); |
- heap()->external_string_table_.Iterate(&external_visitor); |
- heap()->external_string_table_.CleanUp(); |
+ heap()->external_string_table_.IterateAll(&external_visitor); |
+ heap()->external_string_table_.CleanUpAll(); |
} |
{ |