Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 2472d45b7faf8eced8091f8205348530c80902b7..e522bb58574e0142b5b656ac32ca1529a598c308 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -1739,8 +1739,7 @@ void Heap::Scavenge() { |
DCHECK(new_space_front == new_space_->top()); |
- // Set age mark. |
- new_space_->set_age_mark(new_space_->top()); |
+ new_space_->SealIntermediateGeneration(); |
ArrayBufferTracker::FreeDeadInNewSpace(this); |
@@ -5091,7 +5090,6 @@ bool Heap::ConfigureHeap(int max_semi_space_size, int max_old_space_size, |
} |
initial_semispace_size_ = Min(initial_semispace_size_, max_semi_space_size_); |
- |
if (FLAG_semi_space_growth_factor < 2) { |
FLAG_semi_space_growth_factor = 2; |
} |