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

#include <string-inl.h>

Collaboration diagram for v8::internal::SharedStringAccessGuardIfNeeded:

Public Member Functions

 SharedStringAccessGuardIfNeeded (Isolate *isolate)
 
 SharedStringAccessGuardIfNeeded (LocalIsolate *local_isolate)
 
 SharedStringAccessGuardIfNeeded (Tagged< String > str)
 
 SharedStringAccessGuardIfNeeded (Tagged< String > str, LocalIsolate *local_isolate)
 

Static Public Member Functions

static SharedStringAccessGuardIfNeeded NotNeeded ()
 
static bool IsNeeded (Tagged< String > str, LocalIsolate *local_isolate)
 
static bool IsNeeded (Tagged< String > str, bool check_local_heap=true)
 
static bool IsNeeded (LocalIsolate *local_isolate)
 

Private Member Functions

constexpr SharedStringAccessGuardIfNeeded ()=default
 
constexpr SharedStringAccessGuardIfNeeded (SharedStringAccessGuardIfNeeded &&) V8_NOEXCEPT
 

Static Private Member Functions

static IsolateGetIsolateIfNeeded (Tagged< String > str)
 

Private Attributes

std::optional< base::MutexGuardmutex_guard
 

Detailed Description

Definition at line 43 of file string-inl.h.

Constructor & Destructor Documentation

◆ SharedStringAccessGuardIfNeeded() [1/6]

v8::internal::SharedStringAccessGuardIfNeeded::SharedStringAccessGuardIfNeeded ( Isolate * isolate)
inlineexplicit

Definition at line 47 of file string-inl.h.

◆ SharedStringAccessGuardIfNeeded() [2/6]

v8::internal::SharedStringAccessGuardIfNeeded::SharedStringAccessGuardIfNeeded ( LocalIsolate * local_isolate)
inlineexplicit

Definition at line 51 of file string-inl.h.

Here is the call graph for this function:

◆ SharedStringAccessGuardIfNeeded() [3/6]

v8::internal::SharedStringAccessGuardIfNeeded::SharedStringAccessGuardIfNeeded ( Tagged< String > str)
inlineexplicit

Definition at line 58 of file string-inl.h.

◆ SharedStringAccessGuardIfNeeded() [4/6]

v8::internal::SharedStringAccessGuardIfNeeded::SharedStringAccessGuardIfNeeded ( Tagged< String > str,
LocalIsolate * local_isolate )
inline

Definition at line 65 of file string-inl.h.

Here is the call graph for this function:

◆ SharedStringAccessGuardIfNeeded() [5/6]

v8::internal::SharedStringAccessGuardIfNeeded::SharedStringAccessGuardIfNeeded ( )
constexprprivatedefault

◆ SharedStringAccessGuardIfNeeded() [6/6]

v8::internal::SharedStringAccessGuardIfNeeded::SharedStringAccessGuardIfNeeded ( SharedStringAccessGuardIfNeeded && )
inlineconstexprprivate

Definition at line 106 of file string-inl.h.

Member Function Documentation

◆ GetIsolateIfNeeded()

static Isolate * v8::internal::SharedStringAccessGuardIfNeeded::GetIsolateIfNeeded ( Tagged< String > str)
inlinestaticprivate

Definition at line 112 of file string-inl.h.

Here is the call graph for this function:

◆ IsNeeded() [1/3]

static bool v8::internal::SharedStringAccessGuardIfNeeded::IsNeeded ( LocalIsolate * local_isolate)
inlinestatic

Definition at line 97 of file string-inl.h.

Here is the call graph for this function:

◆ IsNeeded() [2/3]

static bool v8::internal::SharedStringAccessGuardIfNeeded::IsNeeded ( Tagged< String > str,
bool check_local_heap = true )
inlinestatic

Definition at line 80 of file string-inl.h.

Here is the call graph for this function:

◆ IsNeeded() [3/3]

static bool v8::internal::SharedStringAccessGuardIfNeeded::IsNeeded ( Tagged< String > str,
LocalIsolate * local_isolate )
inlinestatic

Definition at line 76 of file string-inl.h.

Here is the caller graph for this function:

◆ NotNeeded()

static SharedStringAccessGuardIfNeeded v8::internal::SharedStringAccessGuardIfNeeded::NotNeeded ( )
inlinestatic

Definition at line 72 of file string-inl.h.

Here is the caller graph for this function:

Member Data Documentation

◆ mutex_guard

std::optional<base::MutexGuard> v8::internal::SharedStringAccessGuardIfNeeded::mutex_guard
private

Definition at line 124 of file string-inl.h.


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