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

#include <thread-local-top.h>

Collaboration diagram for v8::internal::ThreadLocalTop:

Public Member Functions

 ThreadLocalTop ()
 
void Clear ()
 
void Initialize (Isolate *)
 
Address try_catch_handler_address ()
 
template<bool clear_exception, typename Scope >
void IncrementCallDepth (Scope *stack_allocated_scope)
 
template<typename Scope >
void DecrementCallDepth (Scope *stack_allocated_scope)
 
bool CallDepthIsZero () const
 
void Free ()
 

Static Public Member Functions

static constexpr int exception_offset ()
 

Public Attributes

Address c_entry_fp_
 
Address c_function_
 
Tagged< Contextcontext_
 
Tagged< Contexttopmost_script_having_context_
 
Address last_api_entry_
 
Tagged< Objectexception_ = Smi::zero()
 
Tagged< Contextpending_handler_context_
 
Address pending_handler_entrypoint_
 
Address pending_handler_constant_pool_
 
Address pending_handler_fp_
 
Address pending_handler_sp_
 
v8::TryCatchtry_catch_handler_
 
Isolateisolate_
 
std::atomic< ThreadIdthread_id_
 
uintptr_t num_frames_above_pending_handler_
 
uint8_t is_on_central_stack_flag_
 
uint8_t rethrowing_message_
 
Tagged< Objectpending_message_ = Smi::zero()
 
Address handler_
 
Simulator * simulator_
 
Address js_entry_sp_
 
ExternalCallbackScopeexternal_callback_scope_
 
StateTag current_vm_state_
 
EmbedderStatecurrent_embedder_state_
 
const v8::Context::BackupIncumbentScopetop_backup_incumbent_scope_
 
v8::FailedAccessCheckCallback failed_access_check_callback_
 
Address thread_in_wasm_flag_address_
 
Address central_stack_sp_
 
Address central_stack_limit_
 
Address secondary_stack_sp_
 
Address secondary_stack_limit_
 

Static Public Attributes

static constexpr uint32_t kSizeInBytes = 30 * kSystemPointerSize
 

Detailed Description

Definition at line 28 of file thread-local-top.h.

Constructor & Destructor Documentation

◆ ThreadLocalTop()

v8::internal::ThreadLocalTop::ThreadLocalTop ( )
inline

Definition at line 37 of file thread-local-top.h.

Here is the call graph for this function:

Member Function Documentation

◆ CallDepthIsZero()

bool v8::internal::ThreadLocalTop::CallDepthIsZero ( ) const
inline

Definition at line 89 of file thread-local-top.h.

Here is the caller graph for this function:

◆ Clear()

void v8::internal::ThreadLocalTop::Clear ( )

Definition at line 18 of file thread-local-top.cc.

Here is the caller graph for this function:

◆ DecrementCallDepth()

template<typename Scope >
void v8::internal::ThreadLocalTop::DecrementCallDepth ( Scope * stack_allocated_scope)
inline

Definition at line 85 of file thread-local-top.h.

◆ exception_offset()

static constexpr int v8::internal::ThreadLocalTop::exception_offset ( )
inlinestaticconstexpr

Definition at line 147 of file thread-local-top.h.

Here is the caller graph for this function:

◆ Free()

void v8::internal::ThreadLocalTop::Free ( )

Definition at line 63 of file thread-local-top.cc.

◆ IncrementCallDepth()

template<bool clear_exception, typename Scope >
void v8::internal::ThreadLocalTop::IncrementCallDepth ( Scope * stack_allocated_scope)
inline

Definition at line 66 of file thread-local-top.h.

Here is the call graph for this function:

◆ Initialize()

void v8::internal::ThreadLocalTop::Initialize ( Isolate * isolate)

Definition at line 49 of file thread-local-top.cc.

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

◆ try_catch_handler_address()

Address v8::internal::ThreadLocalTop::try_catch_handler_address ( )
inline

Definition at line 54 of file thread-local-top.h.

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

Member Data Documentation

◆ c_entry_fp_

Address v8::internal::ThreadLocalTop::c_entry_fp_

Definition at line 98 of file thread-local-top.h.

◆ c_function_

Address v8::internal::ThreadLocalTop::c_function_

Definition at line 100 of file thread-local-top.h.

◆ central_stack_limit_

Address v8::internal::ThreadLocalTop::central_stack_limit_

Definition at line 205 of file thread-local-top.h.

◆ central_stack_sp_

Address v8::internal::ThreadLocalTop::central_stack_sp_

Definition at line 204 of file thread-local-top.h.

◆ context_

Tagged<Context> v8::internal::ThreadLocalTop::context_

Definition at line 108 of file thread-local-top.h.

◆ current_embedder_state_

EmbedderState* v8::internal::ThreadLocalTop::current_embedder_state_

Definition at line 190 of file thread-local-top.h.

◆ current_vm_state_

StateTag v8::internal::ThreadLocalTop::current_vm_state_

Definition at line 189 of file thread-local-top.h.

◆ exception_

Tagged<Object> v8::internal::ThreadLocalTop::exception_ = Smi::zero()

Definition at line 145 of file thread-local-top.h.

◆ external_callback_scope_

ExternalCallbackScope* v8::internal::ThreadLocalTop::external_callback_scope_

Definition at line 188 of file thread-local-top.h.

◆ failed_access_check_callback_

v8::FailedAccessCheckCallback v8::internal::ThreadLocalTop::failed_access_check_callback_

Definition at line 196 of file thread-local-top.h.

◆ handler_

Address v8::internal::ThreadLocalTop::handler_

Definition at line 180 of file thread-local-top.h.

◆ is_on_central_stack_flag_

uint8_t v8::internal::ThreadLocalTop::is_on_central_stack_flag_

Definition at line 173 of file thread-local-top.h.

◆ isolate_

Isolate* v8::internal::ThreadLocalTop::isolate_

Definition at line 166 of file thread-local-top.h.

◆ js_entry_sp_

Address v8::internal::ThreadLocalTop::js_entry_sp_

Definition at line 186 of file thread-local-top.h.

◆ kSizeInBytes

uint32_t v8::internal::ThreadLocalTop::kSizeInBytes = 30 * kSystemPointerSize
staticconstexpr

Definition at line 33 of file thread-local-top.h.

◆ last_api_entry_

Address v8::internal::ThreadLocalTop::last_api_entry_

Definition at line 141 of file thread-local-top.h.

◆ num_frames_above_pending_handler_

uintptr_t v8::internal::ThreadLocalTop::num_frames_above_pending_handler_

Definition at line 170 of file thread-local-top.h.

◆ pending_handler_constant_pool_

Address v8::internal::ThreadLocalTop::pending_handler_constant_pool_

Definition at line 154 of file thread-local-top.h.

◆ pending_handler_context_

Tagged<Context> v8::internal::ThreadLocalTop::pending_handler_context_

Definition at line 152 of file thread-local-top.h.

◆ pending_handler_entrypoint_

Address v8::internal::ThreadLocalTop::pending_handler_entrypoint_

Definition at line 153 of file thread-local-top.h.

◆ pending_handler_fp_

Address v8::internal::ThreadLocalTop::pending_handler_fp_

Definition at line 155 of file thread-local-top.h.

◆ pending_handler_sp_

Address v8::internal::ThreadLocalTop::pending_handler_sp_

Definition at line 156 of file thread-local-top.h.

◆ pending_message_

Tagged<Object> v8::internal::ThreadLocalTop::pending_message_ = Smi::zero()

Definition at line 177 of file thread-local-top.h.

◆ rethrowing_message_

uint8_t v8::internal::ThreadLocalTop::rethrowing_message_

Definition at line 174 of file thread-local-top.h.

◆ secondary_stack_limit_

Address v8::internal::ThreadLocalTop::secondary_stack_limit_

Definition at line 211 of file thread-local-top.h.

◆ secondary_stack_sp_

Address v8::internal::ThreadLocalTop::secondary_stack_sp_

Definition at line 210 of file thread-local-top.h.

◆ simulator_

Simulator* v8::internal::ThreadLocalTop::simulator_

Definition at line 183 of file thread-local-top.h.

◆ thread_id_

std::atomic<ThreadId> v8::internal::ThreadLocalTop::thread_id_

Definition at line 167 of file thread-local-top.h.

◆ thread_in_wasm_flag_address_

Address v8::internal::ThreadLocalTop::thread_in_wasm_flag_address_

Definition at line 199 of file thread-local-top.h.

◆ top_backup_incumbent_scope_

const v8::Context::BackupIncumbentScope* v8::internal::ThreadLocalTop::top_backup_incumbent_scope_

Definition at line 193 of file thread-local-top.h.

◆ topmost_script_having_context_

Tagged<Context> v8::internal::ThreadLocalTop::topmost_script_having_context_

Definition at line 137 of file thread-local-top.h.

◆ try_catch_handler_

v8::TryCatch* v8::internal::ThreadLocalTop::try_catch_handler_

Definition at line 163 of file thread-local-top.h.


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