| Index: src/optimizing-compiler-thread.h
|
| diff --git a/src/optimizing-compiler-thread.h b/src/optimizing-compiler-thread.h
|
| index 6ff4f2a61ab33adc74f228f24df5b8a49b40dae0..ba40e11185ada17974847ac5af4dfe31b86f9a45 100644
|
| --- a/src/optimizing-compiler-thread.h
|
| +++ b/src/optimizing-compiler-thread.h
|
| @@ -84,6 +84,8 @@ class OptimizingCompilerThread : public base::Thread {
|
| #endif
|
|
|
| private:
|
| + class CompileTask;
|
| +
|
| enum StopFlag { CONTINUE, STOP, FLUSH };
|
|
|
| void FlushInputQueue(bool restore_function_code);
|
| @@ -121,6 +123,9 @@ class OptimizingCompilerThread : public base::Thread {
|
|
|
| // Queue of recompilation tasks ready to be installed (excluding OSR).
|
| UnboundQueue<OptimizedCompileJob*> output_queue_;
|
| + // Used for job based recompilation which has multiple producers on
|
| + // different threads.
|
| + base::Mutex output_queue_mutex_;
|
|
|
| // Cyclic buffer of recompilation tasks for OSR.
|
| OptimizedCompileJob** osr_buffer_;
|
|
|