| Index: src/heap/spaces.cc
|
| diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
|
| index 30ae2b44f0a811d652d58ee93154903ba493b553..32b9e6a02fe672eafaa3f72cd5d3d086f774e9ab 100644
|
| --- a/src/heap/spaces.cc
|
| +++ b/src/heap/spaces.cc
|
| @@ -2991,9 +2991,7 @@ void LargeObjectSpace::FreeUnmarkedObjects() {
|
| previous->set_next_page(current);
|
| }
|
|
|
| - // Free the chunk.
|
| - heap()->mark_compact_collector()->ReportDeleteIfNeeded(object,
|
| - heap()->isolate());
|
| + // Account for the freed bytes.
|
| size_ -= static_cast<int>(page->size());
|
| objects_size_ -= object->Size();
|
| page_count_--;
|
| @@ -3009,6 +3007,7 @@ void LargeObjectSpace::FreeUnmarkedObjects() {
|
| static_cast<uint32_t>(key));
|
| }
|
|
|
| + // Free the chunk.
|
| if (is_pointer_object) {
|
| heap()->QueueMemoryChunkForFree(page);
|
| } else {
|
|
|