v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::LazyCompileDispatcher::Job Struct Reference
Collaboration diagram for v8::internal::LazyCompileDispatcher::Job:

Public Types

enum class  State {
  kPending , kRunning , kAbortRequested , kReadyToFinalize ,
  kAborted , kPendingToRunOnForeground , kFinalizingNow , kAbortingNow ,
  kFinalized
}
 

Public Member Functions

 Job (std::unique_ptr< BackgroundCompileTask > task)
 
 ~Job ()
 
bool is_running_on_background () const
 

Public Attributes

std::unique_ptr< BackgroundCompileTasktask
 
State state = State::kPending
 

Detailed Description

Definition at line 114 of file lazy-compile-dispatcher.h.

Member Enumeration Documentation

◆ State

Enumerator
kPending 
kRunning 
kAbortRequested 
kReadyToFinalize 
kAborted 
kPendingToRunOnForeground 
kFinalizingNow 
kAbortingNow 
kFinalized 

Definition at line 115 of file lazy-compile-dispatcher.h.

Constructor & Destructor Documentation

◆ Job()

v8::internal::LazyCompileDispatcher::Job::Job ( std::unique_ptr< BackgroundCompileTask > task)
explicit

Definition at line 55 of file lazy-compile-dispatcher.cc.

◆ ~Job()

v8::internal::LazyCompileDispatcher::Job::~Job ( )
default

Member Function Documentation

◆ is_running_on_background()

bool v8::internal::LazyCompileDispatcher::Job::is_running_on_background ( ) const
inline

Definition at line 144 of file lazy-compile-dispatcher.h.

Here is the caller graph for this function:

Member Data Documentation

◆ state

State v8::internal::LazyCompileDispatcher::Job::state = State::kPending

Definition at line 149 of file lazy-compile-dispatcher.h.

◆ task

std::unique_ptr<BackgroundCompileTask> v8::internal::LazyCompileDispatcher::Job::task

Definition at line 148 of file lazy-compile-dispatcher.h.


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