Index: src/heap/remembered-set.cc |
diff --git a/src/heap/remembered-set.cc b/src/heap/remembered-set.cc |
index 6575d55d525e674df0fbb73a43db77f81b615a82..467f72500881643d87ed7e12e8d519995959b31a 100644 |
--- a/src/heap/remembered-set.cc |
+++ b/src/heap/remembered-set.cc |
@@ -36,7 +36,8 @@ void RememberedSet<direction>::ClearInvalidSlots(Heap* heap) { |
} else { |
return REMOVE_SLOT; |
} |
- }); |
+ }, |
+ TypedSlotSet::PREFREE_EMPTY_CHUNKS); |
} |
} |
for (MemoryChunk* chunk : *heap->map_space()) { |