Index: src/heap/memory-reducer.cc |
diff --git a/src/heap/memory-reducer.cc b/src/heap/memory-reducer.cc |
index 3645547ef5653fb99466f795858f813248418f3e..46b7b576d2f95aaeb3b54977559f233edadd01e9 100644 |
--- a/src/heap/memory-reducer.cc |
+++ b/src/heap/memory-reducer.cc |
@@ -66,7 +66,8 @@ void MemoryReducer::NotifyTimer(const Event& event) { |
state_.started_gcs); |
} |
heap()->StartIdleIncrementalMarking( |
- GarbageCollectionReason::kMemoryReducer); |
+ GarbageCollectionReason::kMemoryReducer, |
+ kGCCallbackFlagCollectAllExternalMemory); |
} else if (state_.action == kWait) { |
if (!heap()->incremental_marking()->IsStopped() && |
heap()->ShouldOptimizeForMemoryUsage()) { |