Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: src/heap/heap.cc

Issue 2209583002: [heap] Remove border page (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Allow empty intermediate generation Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/heap-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/heap-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698