![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <optimizing-compile-dispatcher.h>
Public Member Functions | |
| bool | IsAvailable () |
| size_t | Length () |
| OptimizingCompileInputQueue (int capacity) | |
| TurbofanCompilationJob * | Dequeue (OptimizingCompileTaskState &task_state) |
| TurbofanCompilationJob * | DequeueIfIsolateMatches (OptimizingCompileTaskState &task_state) |
| bool | Enqueue (std::unique_ptr< TurbofanCompilationJob > &job) |
| void | FlushJobsForIsolate (Isolate *isolate) |
| bool | HasJobForIsolate (Isolate *isolate) |
| void | Prioritize (Isolate *isolate, Tagged< SharedFunctionInfo > function) |
Private Attributes | |
| std::deque< TurbofanCompilationJob * > | queue_ |
| size_t | capacity_ |
| base::Mutex | mutex_ |
| base::ConditionVariable | task_finished_ |
Friends | |
| class | OptimizingCompileTaskExecutor |
Definition at line 35 of file optimizing-compile-dispatcher.h.
|
inlineexplicit |
Definition at line 47 of file optimizing-compile-dispatcher.h.
| TurbofanCompilationJob * v8::internal::OptimizingCompileInputQueue::Dequeue | ( | OptimizingCompileTaskState & | task_state | ) |
Definition at line 416 of file optimizing-compile-dispatcher.cc.
| TurbofanCompilationJob * v8::internal::OptimizingCompileInputQueue::DequeueIfIsolateMatches | ( | OptimizingCompileTaskState & | task_state | ) |
Definition at line 429 of file optimizing-compile-dispatcher.cc.
| bool v8::internal::OptimizingCompileInputQueue::Enqueue | ( | std::unique_ptr< TurbofanCompilationJob > & | job | ) |
Definition at line 442 of file optimizing-compile-dispatcher.cc.
| void v8::internal::OptimizingCompileInputQueue::FlushJobsForIsolate | ( | Isolate * | isolate | ) |
Definition at line 398 of file optimizing-compile-dispatcher.cc.
Definition at line 408 of file optimizing-compile-dispatcher.cc.
|
inline |
Definition at line 37 of file optimizing-compile-dispatcher.h.
|
inline |
Definition at line 42 of file optimizing-compile-dispatcher.h.
| void v8::internal::OptimizingCompileInputQueue::Prioritize | ( | Isolate * | isolate, |
| Tagged< SharedFunctionInfo > | function ) |
Definition at line 372 of file optimizing-compile-dispatcher.cc.
|
friend |
Definition at line 67 of file optimizing-compile-dispatcher.h.
|
private |
Definition at line 62 of file optimizing-compile-dispatcher.h.
|
private |
Definition at line 64 of file optimizing-compile-dispatcher.h.
|
private |
Definition at line 61 of file optimizing-compile-dispatcher.h.
|
private |
Definition at line 65 of file optimizing-compile-dispatcher.h.