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