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

Unified Diff: src/v8.cc

Issue 9873023: Fix performance regressions due to lazy initialization. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add OS::PostSetUp(). Created 8 years, 9 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
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index 65d95bf54f2a4e19fa8b56121a75ab2054822448..8df43c26e13ae1b86f50cff61283245dfe949de4 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -258,6 +258,8 @@ void V8::InitializeOncePerProcessImpl() {
use_crankshaft_ = false;
}
+ OS::PostSetUp();
+
RuntimeProfiler::GlobalSetup();
ElementsAccessor::InitializeOncePerProcess();
@@ -268,6 +270,7 @@ void V8::InitializeOncePerProcessImpl() {
FLAG_max_new_space_size = (1 << (kPageSizeBits - 10)) * 2;
}
+ Isolate::GlobalSetup();
LOperand::SetUpCaches();
}
« src/platform-cygwin.cc ('K') | « src/platform-win32.cc ('k') | test/cctest/cctest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698