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

#include <bootstrapper.h>

Collaboration diagram for v8::internal::Bootstrapper:

Public Member Functions

 Bootstrapper (const Bootstrapper &)=delete
 
Bootstrapperoperator= (const Bootstrapper &)=delete
 
void Initialize (bool create_heap_objects)
 
void TearDown ()
 
DirectHandle< NativeContextCreateEnvironment (MaybeDirectHandle< JSGlobalProxy > maybe_global_proxy, v8::Local< v8::ObjectTemplate > global_object_template, v8::ExtensionConfiguration *extensions, size_t context_snapshot_index, DeserializeEmbedderFieldsCallback embedder_fields_deserializer, v8::MicrotaskQueue *microtask_queue)
 
DirectHandle< NativeContextCreateEnvironmentForTesting ()
 
DirectHandle< JSGlobalProxyNewRemoteContext (MaybeDirectHandle< JSGlobalProxy > maybe_global_proxy, v8::Local< v8::ObjectTemplate > global_object_template)
 
void Iterate (RootVisitor *v)
 
bool IsActive () const
 
char * ArchiveState (char *to)
 
char * RestoreState (char *from)
 
void FreeThreadResources ()
 
bool InstallExtensions (DirectHandle< NativeContext > native_context, v8::ExtensionConfiguration *extensions)
 
SourceCodeCacheextensions_cache ()
 

Static Public Member Functions

static void InitializeOncePerProcess ()
 
static int ArchiveSpacePerThread ()
 

Private Types

using NestingCounterType = int
 

Private Member Functions

void LogAllMaps ()
 
 Bootstrapper (Isolate *isolate)
 

Private Attributes

Isolateisolate_
 
NestingCounterType nesting_
 
SourceCodeCache extensions_cache_
 

Friends

class BootstrapperActive
 
class Isolate
 
class NativesExternalStringResource
 

Detailed Description

Definition at line 46 of file bootstrapper.h.

Member Typedef Documentation

◆ NestingCounterType

Definition at line 107 of file bootstrapper.h.

Constructor & Destructor Documentation

◆ Bootstrapper() [1/2]

v8::internal::Bootstrapper::Bootstrapper ( const Bootstrapper & )
delete

◆ Bootstrapper() [2/2]

v8::internal::Bootstrapper::Bootstrapper ( Isolate * isolate)
explicitprivate

Definition at line 138 of file bootstrapper.cc.

Member Function Documentation

◆ ArchiveSpacePerThread()

int v8::internal::Bootstrapper::ArchiveSpacePerThread ( )
static

Definition at line 7223 of file bootstrapper.cc.

Here is the caller graph for this function:

◆ ArchiveState()

char * v8::internal::Bootstrapper::ArchiveState ( char * to)

Definition at line 7226 of file bootstrapper.cc.

Here is the caller graph for this function:

◆ CreateEnvironment()

DirectHandle< NativeContext > v8::internal::Bootstrapper::CreateEnvironment ( MaybeDirectHandle< JSGlobalProxy > maybe_global_proxy,
v8::Local< v8::ObjectTemplate > global_object_template,
v8::ExtensionConfiguration * extensions,
size_t context_snapshot_index,
DeserializeEmbedderFieldsCallback embedder_fields_deserializer,
v8::MicrotaskQueue * microtask_queue )

Definition at line 348 of file bootstrapper.cc.

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

◆ CreateEnvironmentForTesting()

DirectHandle< NativeContext > v8::internal::Bootstrapper::CreateEnvironmentForTesting ( )
inline

Definition at line 68 of file bootstrapper.h.

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

◆ extensions_cache()

SourceCodeCache * v8::internal::Bootstrapper::extensions_cache ( )
inline

Definition at line 100 of file bootstrapper.h.

◆ FreeThreadResources()

void v8::internal::Bootstrapper::FreeThreadResources ( )

Definition at line 7239 of file bootstrapper.cc.

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

◆ Initialize()

void v8::internal::Bootstrapper::Initialize ( bool create_heap_objects)

Definition at line 143 of file bootstrapper.cc.

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

◆ InitializeOncePerProcess()

void v8::internal::Bootstrapper::InitializeOncePerProcess ( )
static

Definition at line 158 of file bootstrapper.cc.

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

◆ InstallExtensions()

bool v8::internal::Bootstrapper::InstallExtensions ( DirectHandle< NativeContext > native_context,
v8::ExtensionConfiguration * extensions )

Definition at line 6606 of file bootstrapper.cc.

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

◆ IsActive()

bool v8::internal::Bootstrapper::IsActive ( ) const
inline

Definition at line 88 of file bootstrapper.h.

Here is the caller graph for this function:

◆ Iterate()

void v8::internal::Bootstrapper::Iterate ( RootVisitor * v)

Definition at line 343 of file bootstrapper.cc.

Here is the call graph for this function:

◆ LogAllMaps()

void v8::internal::Bootstrapper::LogAllMaps ( )
private

Definition at line 384 of file bootstrapper.cc.

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

◆ NewRemoteContext()

DirectHandle< JSGlobalProxy > v8::internal::Bootstrapper::NewRemoteContext ( MaybeDirectHandle< JSGlobalProxy > maybe_global_proxy,
v8::Local< v8::ObjectTemplate > global_object_template )

Definition at line 370 of file bootstrapper.cc.

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

◆ operator=()

Bootstrapper & v8::internal::Bootstrapper::operator= ( const Bootstrapper & )
delete

◆ RestoreState()

char * v8::internal::Bootstrapper::RestoreState ( char * from)

Definition at line 7233 of file bootstrapper.cc.

Here is the caller graph for this function:

◆ TearDown()

void v8::internal::Bootstrapper::TearDown ( )

Definition at line 177 of file bootstrapper.cc.

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

Friends And Related Symbol Documentation

◆ BootstrapperActive

friend class BootstrapperActive
friend

Definition at line 111 of file bootstrapper.h.

◆ Isolate

friend class Isolate
friend

Definition at line 112 of file bootstrapper.h.

◆ NativesExternalStringResource

friend class NativesExternalStringResource
friend

Definition at line 113 of file bootstrapper.h.

Member Data Documentation

◆ extensions_cache_

SourceCodeCache v8::internal::Bootstrapper::extensions_cache_
private

Definition at line 109 of file bootstrapper.h.

◆ isolate_

Isolate* v8::internal::Bootstrapper::isolate_
private

Definition at line 106 of file bootstrapper.h.

◆ nesting_

NestingCounterType v8::internal::Bootstrapper::nesting_
private

Definition at line 108 of file bootstrapper.h.


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