Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index c3af9f2f0c5c5f11fbfa47c9642e2080e44eb3bb..5937bee763f19203fb9cc3ac9b58c6df7d57ff4c 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -2912,8 +2912,10 @@ Address LargePage::GetAddressToShrink() { |
} |
void LargePage::ClearOutOfLiveRangeSlots(Address free_start) { |
- RememberedSet<OLD_TO_NEW>::RemoveRange(this, free_start, area_end()); |
- RememberedSet<OLD_TO_OLD>::RemoveRange(this, free_start, area_end()); |
+ RememberedSet<OLD_TO_NEW>::RemoveRange(this, free_start, area_end(), |
+ SlotSet::FREE_EMPTY_BUCKETS); |
+ RememberedSet<OLD_TO_OLD>::RemoveRange(this, free_start, area_end(), |
+ SlotSet::FREE_EMPTY_BUCKETS); |
RememberedSet<OLD_TO_NEW>::RemoveRangeTyped(this, free_start, area_end()); |
RememberedSet<OLD_TO_OLD>::RemoveRangeTyped(this, free_start, area_end()); |
} |