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

Unified Diff: src/isolate.h

Issue 10417010: Run Crankshaft on a separate thread. (Closed) Base URL: https://chromiumcodereview.appspot.com/10387157
Patch Set: Set optimize_in_parallel to false by default. Created 8 years, 7 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/handles-inl.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index f1c9b3ccfaae7843cfb1be0357ce056d105a6fb3..bf4c9fd353cdc5fe52693c6c263093825aeb4d6d 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -41,6 +41,7 @@
#include "handles.h"
#include "hashmap.h"
#include "heap.h"
+#include "optimizing-compiler-thread.h"
#include "regexp-stack.h"
#include "runtime-profiler.h"
#include "runtime.h"
@@ -69,6 +70,7 @@ class HeapProfiler;
class InlineRuntimeFunctionsTable;
class NoAllocationStringAllocator;
class InnerPointerToCodeCache;
+class OptimizingCompilerThread;
class PreallocatedMemoryThread;
class RegExpStack;
class SaveContext;
@@ -1032,6 +1034,8 @@ class Isolate {
date_cache_ = date_cache;
}
+ void queue_for_optimization(Handle<JSFunction> function);
+
private:
Isolate();
@@ -1207,6 +1211,7 @@ class Isolate {
RegExpStack* regexp_stack_;
DateCache* date_cache_;
unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
+ OptimizingCompilerThread* optimizing_compiler_thread_;
// The garbage collector should be a little more aggressive when it knows
// that a context was recently exited.
@@ -1257,6 +1262,7 @@ class Isolate {
friend class ExecutionAccess;
friend class IsolateInitializer;
+ friend class OptimizingCompilerThread;
friend class ThreadManager;
friend class Simulator;
friend class StackGuard;
« no previous file with comments | « src/handles-inl.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698