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

Unified Diff: src/isolate.cc

Issue 6606006: [Isolates] Merge 6500:6700 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 10 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
« src/isolate.h ('K') | « src/isolate.h ('k') | src/json.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
===================================================================
--- src/isolate.cc (revision 7006)
+++ src/isolate.cc (working copy)
@@ -177,10 +177,15 @@
Isolate::ThreadDataTable* Isolate::thread_data_table_ = NULL;
Isolate::ThreadId Isolate::highest_thread_id_ = 0;
+void Isolate::RunStaticInitializers() {
+ LAllocator::Setup();
+}
+
class IsolateInitializer {
public:
IsolateInitializer() {
Isolate::EnsureDefaultIsolate();
+ Isolate::RunStaticInitializers();
Vitaly Repeshko 2011/03/02 18:27:27 Consider doing this before the default isolate is
}
};
@@ -712,7 +717,6 @@
OProfileAgent::Initialize();
deoptimizer_data_ = new DeoptimizerData;
- LAllocator::Setup();
runtime_profiler_ = new RuntimeProfiler(this);
runtime_profiler_->Setup();
« src/isolate.h ('K') | « src/isolate.h ('k') | src/json.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698