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

Unified Diff: src/isolate.h

Issue 1082183003: Revert of Reland "Remove support for thread-based recompilation" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/hydrogen.cc ('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 85d25ed93e782894abb701a9b6f2bd367c07ee01..e8576f5940d599b30617984b46342c1cffbc1dc7 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -19,7 +19,7 @@
#include "src/handles.h"
#include "src/hashmap.h"
#include "src/heap/heap.h"
-#include "src/optimizing-compile-dispatcher.h"
+#include "src/optimizing-compiler-thread.h"
#include "src/regexp-stack.h"
#include "src/runtime/runtime.h"
#include "src/runtime-profiler.h"
@@ -1028,20 +1028,20 @@
bool concurrent_recompilation_enabled() {
// Thread is only available with flag enabled.
- DCHECK(optimizing_compile_dispatcher_ == NULL ||
+ DCHECK(optimizing_compiler_thread_ == NULL ||
FLAG_concurrent_recompilation);
- return optimizing_compile_dispatcher_ != NULL;
+ return optimizing_compiler_thread_ != NULL;
}
bool concurrent_osr_enabled() const {
// Thread is only available with flag enabled.
- DCHECK(optimizing_compile_dispatcher_ == NULL ||
+ DCHECK(optimizing_compiler_thread_ == NULL ||
FLAG_concurrent_recompilation);
- return optimizing_compile_dispatcher_ != NULL && FLAG_concurrent_osr;
- }
-
- OptimizingCompileDispatcher* optimizing_compile_dispatcher() {
- return optimizing_compile_dispatcher_;
+ return optimizing_compiler_thread_ != NULL && FLAG_concurrent_osr;
+ }
+
+ OptimizingCompilerThread* optimizing_compiler_thread() {
+ return optimizing_compiler_thread_;
}
int id() const { return static_cast<int>(id_); }
@@ -1329,7 +1329,7 @@
#endif
DeferredHandles* deferred_handles_head_;
- OptimizingCompileDispatcher* optimizing_compile_dispatcher_;
+ OptimizingCompilerThread* optimizing_compiler_thread_;
// Counts deopt points if deopt_every_n_times is enabled.
unsigned int stress_deopt_count_;
@@ -1350,7 +1350,7 @@
friend class ExecutionAccess;
friend class HandleScopeImplementer;
- friend class OptimizingCompileDispatcher;
+ friend class OptimizingCompilerThread;
friend class SweeperThread;
friend class ThreadManager;
friend class Simulator;
« no previous file with comments | « src/hydrogen.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698