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

Unified Diff: src/heap/heap.cc

Issue 790353006: Call DisableInlineAllocation() in heap setup when flag inline_new is off. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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 | no next file » | 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 416bcc82862bf4dcb403cc75a5afcf3daa2d4c32..f06ae20d98688b508c8f5919172a55583e10385e 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5393,6 +5393,8 @@ bool Heap::SetUp() {
mark_compact_collector()->SetUp();
+ if (!FLAG_inline_new) DisableInlineAllocation();
+
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698