Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 54b7696835dc2652841cc26c7a13376820bda376..3f425274614daa913b6a3c2e4a0f05196696d1ed 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -1482,6 +1482,7 @@ bool NewSpace::AddFreshPage() { |
int remaining_in_page = static_cast<int>(limit - top); |
heap()->CreateFillerObjectAt(top, remaining_in_page, ClearRecordedSlots::kNo); |
pages_used_++; |
+ allocated_since_last_gc_ += NewSpacePage::kAllocatableMemory; |
UpdateAllocationInfo(); |
return true; |