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

#include <local-isolate.h>

Inheritance diagram for v8::internal::LocalIsolate:
Collaboration diagram for v8::internal::LocalIsolate:

Public Types

using HandleScopeType = LocalHandleScope
 

Public Member Functions

 LocalIsolate (Isolate *isolate, ThreadKind kind)
 
 ~LocalIsolate ()
 
bool is_main_thread () const
 
LocalHeapheap ()
 
const LocalHeapheap () const
 
Address cage_base () const
 
Address code_cage_base () const
 
ReadOnlyHeapread_only_heap () const
 
RootsTableroots_table ()
 
const RootsTableroots_table () const
 
Tagged< Objectroot (RootIndex index) const
 
Handle< Objectroot_handle (RootIndex index) const
 
base::RandomNumberGeneratorfuzzer_rng () const
 
StringTablestring_table () const
 
base::Mutexinternalized_string_access ()
 
base::Mutexshared_function_info_access ()
 
const AstStringConstantsast_string_constants ()
 
LazyCompileDispatcherlazy_compile_dispatcher ()
 
V8FileLoggermain_thread_logger ()
 
bool is_precise_binary_code_coverage () const
 
v8::internal::LocalFactoryfactory ()
 
IsolateGroupisolate_group () const
 
AccountingAllocatorallocator ()
 
bool has_exception () const
 
bool serializer_enabled () const
 
void RegisterDeserializerStarted ()
 
void RegisterDeserializerFinished ()
 
bool has_active_deserializer () const
 
void Throw (Tagged< Object > exception)
 
void FatalProcessOutOfHeapMemory (const char *location)
 
int GetNextScriptId ()
 
uint32_t GetAndIncNextUniqueSfiId ()
 
LocalLoggerv8_file_logger () const
 
ThreadId thread_id () const
 
Address stack_limit () const
 
RuntimeCallStatsruntime_call_stats () const
 
bigint::Processorbigint_processor ()
 
IsolateAsIsolate ()
 
LocalIsolateAsLocalIsolate ()
 
LocalIsolateshared_space_isolate () const
 
IsolateGetMainThreadIsolateUnsafe () const
 
const v8::StartupDatasnapshot_blob () const
 
Tagged< Object > * pending_message_address ()
 
int NextOptimizationId ()
 
template<typename Callback >
V8_INLINE void ExecuteMainThreadWhileParked (Callback callback)
 
template<typename Callback >
V8_INLINE void ParkIfOnBackgroundAndExecute (Callback callback)
 

Static Public Member Functions

static LocalIsolateFromHeap (LocalHeap *heap)
 

Private Member Functions

IsolateForSandbox ()
 
void InitializeBigIntProcessor ()
 
- Private Member Functions inherited from v8::internal::HiddenLocalFactory
 LocalFactory (Isolate *isolate)
 

Private Attributes

LocalHeap heap_
 
Isolate *const isolate_
 
std::unique_ptr< LocalLoggerlogger_
 
ThreadId const thread_id_
 
Address const stack_limit_
 
bigint::Processorbigint_processor_ {nullptr}
 

Friends

class v8::internal::LocalFactory
 
class LocalIsolateFactory
 
class IsolateForPointerCompression
 
class IsolateForSandbox
 

Detailed Description

Definition at line 45 of file local-isolate.h.

Member Typedef Documentation

◆ HandleScopeType

Constructor & Destructor Documentation

◆ LocalIsolate()

v8::internal::LocalIsolate::LocalIsolate ( Isolate * isolate,
ThreadKind kind )
explicit

Definition at line 17 of file local-isolate.cc.

◆ ~LocalIsolate()

v8::internal::LocalIsolate::~LocalIsolate ( )

Definition at line 41 of file local-isolate.cc.

Here is the call graph for this function:

Member Function Documentation

◆ allocator()

AccountingAllocator * v8::internal::LocalIsolate::allocator ( )
inline

Definition at line 106 of file local-isolate.h.

◆ AsIsolate()

Isolate * v8::internal::LocalIsolate::AsIsolate ( )
inline

Definition at line 147 of file local-isolate.h.

Here is the caller graph for this function:

◆ AsLocalIsolate()

LocalIsolate * v8::internal::LocalIsolate::AsLocalIsolate ( )
inline

Definition at line 152 of file local-isolate.h.

◆ ast_string_constants()

const AstStringConstants * v8::internal::LocalIsolate::ast_string_constants ( )
inline

Definition at line 82 of file local-isolate.h.

◆ bigint_processor()

bigint::Processor * v8::internal::LocalIsolate::bigint_processor ( )
inline

Definition at line 135 of file local-isolate.h.

◆ cage_base()

Address v8::internal::LocalIsolate::cage_base ( ) const
inline

Definition at line 17 of file local-isolate-inl.h.

Here is the call graph for this function:

◆ code_cage_base()

Address v8::internal::LocalIsolate::code_cage_base ( ) const
inline

Definition at line 19 of file local-isolate-inl.h.

Here is the call graph for this function:

◆ ExecuteMainThreadWhileParked()

template<typename Callback >
V8_INLINE void v8::internal::LocalIsolate::ExecuteMainThreadWhileParked ( Callback callback)

Definition at line 43 of file local-isolate-inl.h.

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

◆ factory()

v8::internal::LocalFactory * v8::internal::LocalIsolate::factory ( )
inline

Definition at line 98 of file local-isolate.h.

Here is the caller graph for this function:

◆ FatalProcessOutOfHeapMemory()

void v8::internal::LocalIsolate::FatalProcessOutOfHeapMemory ( const char * location)
inline

Definition at line 116 of file local-isolate.h.

◆ ForSandbox()

Isolate * v8::internal::LocalIsolate::ForSandbox ( )
inlineprivate

Definition at line 189 of file local-isolate.h.

◆ FromHeap()

static LocalIsolate * v8::internal::LocalIsolate::FromHeap ( LocalHeap * heap)
inlinestatic

Definition at line 53 of file local-isolate.h.

Here is the caller graph for this function:

◆ fuzzer_rng()

base::RandomNumberGenerator * v8::internal::LocalIsolate::fuzzer_rng ( ) const
inline

Definition at line 71 of file local-isolate.h.

Here is the caller graph for this function:

◆ GetAndIncNextUniqueSfiId()

uint32_t v8::internal::LocalIsolate::GetAndIncNextUniqueSfiId ( )
inline

Definition at line 121 of file local-isolate.h.

◆ GetMainThreadIsolateUnsafe()

Isolate * v8::internal::LocalIsolate::GetMainThreadIsolateUnsafe ( ) const
inline

Definition at line 160 of file local-isolate.h.

Here is the caller graph for this function:

◆ GetNextScriptId()

int v8::internal::LocalIsolate::GetNextScriptId ( )

Definition at line 55 of file local-isolate.cc.

Here is the call graph for this function:

◆ has_active_deserializer()

bool v8::internal::LocalIsolate::has_active_deserializer ( ) const

Definition at line 51 of file local-isolate.cc.

Here is the call graph for this function:

◆ has_exception()

bool v8::internal::LocalIsolate::has_exception ( ) const
inline

Definition at line 108 of file local-isolate.h.

◆ heap() [1/2]

LocalHeap * v8::internal::LocalIsolate::heap ( )
inline

Definition at line 60 of file local-isolate.h.

Here is the caller graph for this function:

◆ heap() [2/2]

const LocalHeap * v8::internal::LocalIsolate::heap ( ) const
inline

Definition at line 61 of file local-isolate.h.

◆ InitializeBigIntProcessor()

void v8::internal::LocalIsolate::InitializeBigIntProcessor ( )
private

Definition at line 59 of file local-isolate.cc.

Here is the call graph for this function:

◆ internalized_string_access()

base::Mutex * v8::internal::LocalIsolate::internalized_string_access ( )
inline

Definition at line 76 of file local-isolate.h.

Here is the caller graph for this function:

◆ is_main_thread()

bool v8::internal::LocalIsolate::is_main_thread ( ) const
inline

Definition at line 58 of file local-isolate.h.

Here is the caller graph for this function:

◆ is_precise_binary_code_coverage()

bool v8::internal::LocalIsolate::is_precise_binary_code_coverage ( ) const
inline

Definition at line 94 of file local-isolate.h.

◆ isolate_group()

IsolateGroup * v8::internal::LocalIsolate::isolate_group ( ) const
inline

Definition at line 104 of file local-isolate.h.

◆ lazy_compile_dispatcher()

LazyCompileDispatcher * v8::internal::LocalIsolate::lazy_compile_dispatcher ( )
inline

Definition at line 85 of file local-isolate.h.

◆ main_thread_logger()

V8FileLogger * v8::internal::LocalIsolate::main_thread_logger ( )
inline

Definition at line 88 of file local-isolate.h.

◆ NextOptimizationId()

int v8::internal::LocalIsolate::NextOptimizationId ( )
inline

Definition at line 169 of file local-isolate.h.

Here is the caller graph for this function:

◆ ParkIfOnBackgroundAndExecute()

template<typename Callback >
V8_INLINE void v8::internal::LocalIsolate::ParkIfOnBackgroundAndExecute ( Callback callback)

Definition at line 48 of file local-isolate-inl.h.

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

◆ pending_message_address()

Tagged< Object > * v8::internal::LocalIsolate::pending_message_address ( )
inline

Definition at line 165 of file local-isolate.h.

◆ read_only_heap()

ReadOnlyHeap * v8::internal::LocalIsolate::read_only_heap ( ) const
inline

Definition at line 23 of file local-isolate-inl.h.

Here is the call graph for this function:

◆ RegisterDeserializerFinished()

void v8::internal::LocalIsolate::RegisterDeserializerFinished ( )

Definition at line 48 of file local-isolate.cc.

Here is the call graph for this function:

◆ RegisterDeserializerStarted()

void v8::internal::LocalIsolate::RegisterDeserializerStarted ( )

Definition at line 45 of file local-isolate.cc.

Here is the call graph for this function:

◆ root()

Tagged< Object > v8::internal::LocalIsolate::root ( RootIndex index) const
inline

Definition at line 32 of file local-isolate-inl.h.

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

◆ root_handle()

Handle< Object > v8::internal::LocalIsolate::root_handle ( RootIndex index) const
inline

Definition at line 37 of file local-isolate-inl.h.

Here is the call graph for this function:

◆ roots_table() [1/2]

RootsTable & v8::internal::LocalIsolate::roots_table ( )
inline

Definition at line 27 of file local-isolate-inl.h.

Here is the call graph for this function:

◆ roots_table() [2/2]

const RootsTable & v8::internal::LocalIsolate::roots_table ( ) const
inline

Definition at line 28 of file local-isolate-inl.h.

Here is the call graph for this function:

◆ runtime_call_stats()

RuntimeCallStats * v8::internal::LocalIsolate::runtime_call_stats ( ) const
inline

Definition at line 133 of file local-isolate.h.

Here is the caller graph for this function:

◆ serializer_enabled()

bool v8::internal::LocalIsolate::serializer_enabled ( ) const
inline

Definition at line 109 of file local-isolate.h.

◆ shared_function_info_access()

base::Mutex * v8::internal::LocalIsolate::shared_function_info_access ( )
inline

Definition at line 79 of file local-isolate.h.

Here is the caller graph for this function:

◆ shared_space_isolate()

LocalIsolate * v8::internal::LocalIsolate::shared_space_isolate ( ) const
inline

Definition at line 154 of file local-isolate.h.

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

◆ snapshot_blob()

const v8::StartupData * v8::internal::LocalIsolate::snapshot_blob ( ) const
inline

Definition at line 162 of file local-isolate.h.

Here is the caller graph for this function:

◆ stack_limit()

Address v8::internal::LocalIsolate::stack_limit ( ) const
inline

Definition at line 129 of file local-isolate.h.

Here is the caller graph for this function:

◆ string_table()

StringTable * v8::internal::LocalIsolate::string_table ( ) const
inline

Definition at line 75 of file local-isolate.h.

◆ thread_id()

ThreadId v8::internal::LocalIsolate::thread_id ( ) const
inline

Definition at line 128 of file local-isolate.h.

◆ Throw()

void v8::internal::LocalIsolate::Throw ( Tagged< Object > exception)
inline

Definition at line 115 of file local-isolate.h.

◆ v8_file_logger()

LocalLogger * v8::internal::LocalIsolate::v8_file_logger ( ) const
inline

Definition at line 127 of file local-isolate.h.

Friends And Related Symbol Documentation

◆ IsolateForPointerCompression

friend class IsolateForPointerCompression
friend

Definition at line 185 of file local-isolate.h.

◆ IsolateForSandbox

friend class IsolateForSandbox
friend

Definition at line 186 of file local-isolate.h.

◆ LocalIsolateFactory

friend class LocalIsolateFactory
friend

Definition at line 184 of file local-isolate.h.

◆ v8::internal::LocalFactory

friend class v8::internal::LocalFactory
friend

Definition at line 183 of file local-isolate.h.

Member Data Documentation

◆ bigint_processor_

bigint::Processor* v8::internal::LocalIsolate::bigint_processor_ {nullptr}
private

Definition at line 203 of file local-isolate.h.

◆ heap_

LocalHeap v8::internal::LocalIsolate::heap_
private

Definition at line 193 of file local-isolate.h.

◆ isolate_

Isolate* const v8::internal::LocalIsolate::isolate_
private

Definition at line 197 of file local-isolate.h.

◆ logger_

std::unique_ptr<LocalLogger> v8::internal::LocalIsolate::logger_
private

Definition at line 199 of file local-isolate.h.

◆ stack_limit_

Address const v8::internal::LocalIsolate::stack_limit_
private

Definition at line 201 of file local-isolate.h.

◆ thread_id_

ThreadId const v8::internal::LocalIsolate::thread_id_
private

Definition at line 200 of file local-isolate.h.


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