| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index 671d4626924e24d45b0caced1c5f0c004de487bc..31b93e71991e219b5c6050bd0f17bd890f6018ec 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -2852,8 +2852,8 @@ void Heap::AddAllocationSiteToScratchpad(AllocationSite* site,
|
| // candidates are not part of the global list of old space pages and
|
| // releasing an evacuation candidate due to a slots buffer overflow
|
| // results in lost pages.
|
| - mark_compact_collector()->RecordSlot(allocation_sites_scratchpad(), slot,
|
| - *slot, SlotsBuffer::IGNORE_OVERFLOW);
|
| + mark_compact_collector()->ForceRecordSlot(allocation_sites_scratchpad(),
|
| + slot, *slot);
|
| }
|
| allocation_sites_scratchpad_length_++;
|
| }
|
|
|