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

#include <compiler.h>

Collaboration diagram for v8::internal::BackgroundDeserializeTask:

Public Member Functions

 BackgroundDeserializeTask (Isolate *isolate, std::unique_ptr< ScriptCompiler::CachedData > data)
 
void Run ()
 
void SourceTextAvailable (Isolate *isolate, Handle< String > source_text, const ScriptDetails &script_details)
 
bool ShouldMergeWithExistingScript () const
 
void MergeWithExistingScript ()
 
MaybeDirectHandle< SharedFunctionInfoFinish (Isolate *isolate, DirectHandle< String > source, const ScriptDetails &script_details)
 
bool rejected () const
 
int64_t background_time_in_microseconds () const
 

Private Attributes

Isolateisolate_for_local_isolate_
 
AlignedCachedData cached_data_
 
CodeSerializer::OffThreadDeserializeData off_thread_data_
 
BackgroundMergeTask background_merge_task_
 
TimedHistogramtimer_
 
int64_t background_time_in_microseconds_ = 0
 

Detailed Description

Definition at line 683 of file compiler.h.

Constructor & Destructor Documentation

◆ BackgroundDeserializeTask()

v8::internal::BackgroundDeserializeTask::BackgroundDeserializeTask ( Isolate * isolate,
std::unique_ptr< ScriptCompiler::CachedData > data )

Definition at line 2730 of file compiler.cc.

Here is the call graph for this function:

Member Function Documentation

◆ background_time_in_microseconds()

int64_t v8::internal::BackgroundDeserializeTask::background_time_in_microseconds ( ) const
inline

Definition at line 715 of file compiler.h.

◆ Finish()

MaybeDirectHandle< SharedFunctionInfo > v8::internal::BackgroundDeserializeTask::Finish ( Isolate * isolate,
DirectHandle< String > source,
const ScriptDetails & script_details )

Definition at line 2787 of file compiler.cc.

Here is the call graph for this function:

◆ MergeWithExistingScript()

void v8::internal::BackgroundDeserializeTask::MergeWithExistingScript ( )

Definition at line 2776 of file compiler.cc.

Here is the call graph for this function:

◆ rejected()

bool v8::internal::BackgroundDeserializeTask::rejected ( ) const
inline

Definition at line 713 of file compiler.h.

◆ Run()

void v8::internal::BackgroundDeserializeTask::Run ( )

Definition at line 2744 of file compiler.cc.

Here is the call graph for this function:

◆ ShouldMergeWithExistingScript()

bool v8::internal::BackgroundDeserializeTask::ShouldMergeWithExistingScript ( ) const

Definition at line 2770 of file compiler.cc.

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

◆ SourceTextAvailable()

void v8::internal::BackgroundDeserializeTask::SourceTextAvailable ( Isolate * isolate,
Handle< String > source_text,
const ScriptDetails & script_details )

Definition at line 2761 of file compiler.cc.

Here is the call graph for this function:

Member Data Documentation

◆ background_merge_task_

BackgroundMergeTask v8::internal::BackgroundDeserializeTask::background_merge_task_
private

Definition at line 723 of file compiler.h.

◆ background_time_in_microseconds_

int64_t v8::internal::BackgroundDeserializeTask::background_time_in_microseconds_ = 0
private

Definition at line 725 of file compiler.h.

◆ cached_data_

AlignedCachedData v8::internal::BackgroundDeserializeTask::cached_data_
private

Definition at line 721 of file compiler.h.

◆ isolate_for_local_isolate_

Isolate* v8::internal::BackgroundDeserializeTask::isolate_for_local_isolate_
private

Definition at line 720 of file compiler.h.

◆ off_thread_data_

CodeSerializer::OffThreadDeserializeData v8::internal::BackgroundDeserializeTask::off_thread_data_
private

Definition at line 722 of file compiler.h.

◆ timer_

TimedHistogram* v8::internal::BackgroundDeserializeTask::timer_
private

Definition at line 724 of file compiler.h.


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