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

Unified Diff: src/heap/heap.cc

Issue 742733002: Reserve code range block for evacuation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | src/heap/mark-compact.cc » ('j') | src/heap/spaces.h » ('J')
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 9785be0b91d59785a5b38a6da7ac38006ed8bfa2..4b9422e61c56eef6fa88fda84747d801a8c778cc 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5262,6 +5262,7 @@ bool Heap::SetUp() {
new OldSpace(this, max_old_generation_size_, CODE_SPACE, EXECUTABLE);
if (code_space_ == NULL) return false;
if (!code_space_->SetUp()) return false;
+ isolate_->code_range()->ReserveEmergencyBlock();
Hannes Payer (out of office) 2014/11/20 08:00:37 Can we do that after setting up code_range?
ulan 2014/11/20 13:49:30 Done.
// Initialize map space.
map_space_ = new MapSpace(this, max_old_generation_size_, MAP_SPACE);
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | src/heap/spaces.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698