v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::OptimizingCompileDispatcher Class Reference

#include <optimizing-compile-dispatcher.h>

Collaboration diagram for v8::internal::OptimizingCompileDispatcher:

Public Member Functions

 OptimizingCompileDispatcher (Isolate *isolate, OptimizingCompileTaskExecutor *task_executor)
 
 ~OptimizingCompileDispatcher ()
 
void Flush (BlockingBehavior blocking_behavior)
 
bool TryQueueForOptimization (std::unique_ptr< TurbofanCompilationJob > &job)
 
void WaitUntilCompilationJobsDone ()
 
void InstallOptimizedFunctions ()
 
int InstallGeneratedBuiltins (int installed_count)
 
bool IsQueueAvailable ()
 
bool HasJobs ()
 
bool finalize () const
 
void set_finalize (bool finalize)
 
void Prioritize (Tagged< SharedFunctionInfo > function)
 
void StartTearDown ()
 
void FinishTearDown ()
 
void QueueFinishedJob (TurbofanCompilationJob *job)
 

Static Public Member Functions

static bool Enabled ()
 

Private Types

enum  ModeFlag { COMPILE , FLUSH }
 

Private Member Functions

void FlushQueues (BlockingBehavior blocking_behavior)
 
void FlushInputQueue ()
 
void FlushOutputQueue ()
 
OptimizingCompileInputQueueinput_queue ()
 
int recompilation_delay () const
 

Private Attributes

Isolateisolate_
 
OptimizingCompileTaskExecutortask_executor_
 
OptimizingCompileOutputQueue output_queue_
 
bool finalize_ = true
 

Detailed Description

Definition at line 172 of file optimizing-compile-dispatcher.h.

Member Enumeration Documentation

◆ ModeFlag

Enumerator
COMPILE 
FLUSH 

Definition at line 225 of file optimizing-compile-dispatcher.h.

Constructor & Destructor Documentation

◆ OptimizingCompileDispatcher()

v8::internal::OptimizingCompileDispatcher::OptimizingCompileDispatcher ( Isolate * isolate,
OptimizingCompileTaskExecutor * task_executor )
explicit

Definition at line 248 of file optimizing-compile-dispatcher.cc.

◆ ~OptimizingCompileDispatcher()

v8::internal::OptimizingCompileDispatcher::~OptimizingCompileDispatcher ( )

Definition at line 252 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Enabled()

static bool v8::internal::OptimizingCompileDispatcher::Enabled ( )
inlinestatic

Definition at line 201 of file optimizing-compile-dispatcher.h.

Here is the caller graph for this function:

◆ finalize()

bool v8::internal::OptimizingCompileDispatcher::finalize ( ) const
inline

Definition at line 211 of file optimizing-compile-dispatcher.h.

Here is the caller graph for this function:

◆ FinishTearDown()

void v8::internal::OptimizingCompileDispatcher::FinishTearDown ( )

Definition at line 271 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Flush()

void v8::internal::OptimizingCompileDispatcher::Flush ( BlockingBehavior blocking_behavior)

Definition at line 299 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FlushInputQueue()

void v8::internal::OptimizingCompileDispatcher::FlushInputQueue ( )
private

Definition at line 278 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FlushOutputQueue()

void v8::internal::OptimizingCompileDispatcher::FlushOutputQueue ( )
private

Definition at line 263 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FlushQueues()

void v8::internal::OptimizingCompileDispatcher::FlushQueues ( BlockingBehavior blocking_behavior)
private

Definition at line 289 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasJobs()

bool v8::internal::OptimizingCompileDispatcher::HasJobs ( )

Definition at line 353 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:

◆ input_queue()

OptimizingCompileInputQueue & v8::internal::OptimizingCompileDispatcher::input_queue ( )
inlineprivate

Definition at line 231 of file optimizing-compile-dispatcher.h.

Here is the caller graph for this function:

◆ InstallGeneratedBuiltins()

int v8::internal::OptimizingCompileDispatcher::InstallGeneratedBuiltins ( int installed_count)

Definition at line 349 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:

◆ InstallOptimizedFunctions()

void v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions ( )

Definition at line 316 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsQueueAvailable()

bool v8::internal::OptimizingCompileDispatcher::IsQueueAvailable ( )
inline

Definition at line 199 of file optimizing-compile-dispatcher.h.

◆ Prioritize()

void v8::internal::OptimizingCompileDispatcher::Prioritize ( Tagged< SharedFunctionInfo > function)

Definition at line 367 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QueueFinishedJob()

void v8::internal::OptimizingCompileDispatcher::QueueFinishedJob ( TurbofanCompilationJob * job)

Definition at line 256 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:

◆ recompilation_delay()

int v8::internal::OptimizingCompileDispatcher::recompilation_delay ( ) const
inlineprivate

Definition at line 235 of file optimizing-compile-dispatcher.h.

◆ set_finalize()

void v8::internal::OptimizingCompileDispatcher::set_finalize ( bool finalize)
inline

Definition at line 212 of file optimizing-compile-dispatcher.h.

Here is the caller graph for this function:

◆ StartTearDown()

void v8::internal::OptimizingCompileDispatcher::StartTearDown ( )

Definition at line 309 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TryQueueForOptimization()

bool v8::internal::OptimizingCompileDispatcher::TryQueueForOptimization ( std::unique_ptr< TurbofanCompilationJob > & job)

Definition at line 362 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:

◆ WaitUntilCompilationJobsDone()

void v8::internal::OptimizingCompileDispatcher::WaitUntilCompilationJobsDone ( )

Definition at line 282 of file optimizing-compile-dispatcher.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ finalize_

bool v8::internal::OptimizingCompileDispatcher::finalize_ = true
private

Definition at line 245 of file optimizing-compile-dispatcher.h.

◆ isolate_

Isolate* v8::internal::OptimizingCompileDispatcher::isolate_
private

Definition at line 239 of file optimizing-compile-dispatcher.h.

◆ output_queue_

OptimizingCompileOutputQueue v8::internal::OptimizingCompileDispatcher::output_queue_
private

Definition at line 243 of file optimizing-compile-dispatcher.h.

◆ task_executor_

OptimizingCompileTaskExecutor* v8::internal::OptimizingCompileDispatcher::task_executor_
private

Definition at line 241 of file optimizing-compile-dispatcher.h.


The documentation for this class was generated from the following files: