| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 7e5ef96fc9889cbcf3d7ea9dbfb3a7202383373b..1255cb09b86415a1e27f9f1a006a92c8e6e3e671 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -3480,7 +3480,8 @@ bool MarkCompactCollector::VisitLiveObjects(MemoryChunk* page, Visitor* visitor,
|
| page->AddressToMarkbitIndex(object->address()));
|
| if (page->old_to_new_slots() != nullptr) {
|
| page->old_to_new_slots()->RemoveRange(
|
| - 0, static_cast<int>(object->address() - page->address()));
|
| + 0, static_cast<int>(object->address() - page->address()),
|
| + SlotSet::PREFREE_EMPTY_BUCKETS);
|
| }
|
| if (page->typed_old_to_new_slots() != nullptr) {
|
| RememberedSet<OLD_TO_NEW>::RemoveRangeTyped(page, page->address(),
|
|
|