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 2383443002: Revert of [heap] Remove border page (Closed)
Patch Set: 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 217c27b1349d40b1d2ea9d59357b86065804c376..ab82d2b74098fcabcb660a6cfa0c51f2185b837d 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -1733,7 +1733,8 @@ void Heap::Scavenge() {
DCHECK(new_space_front == new_space_->top());
- new_space_->SealIntermediateGeneration();
+ // Set age mark.
+ new_space_->set_age_mark(new_space_->top());
ArrayBufferTracker::FreeDeadInNewSpace(this);
@@ -5082,6 +5083,7 @@ 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