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

Public Member Functions

constexpr AtomicThreadState (ThreadState state)
 
bool CompareExchangeStrong (ThreadState &expected, ThreadState updated)
 
bool CompareExchangeWeak (ThreadState &expected, ThreadState updated)
 
ThreadState SetParked ()
 
ThreadState SetSafepointRequested ()
 
ThreadState ClearSafepointRequested ()
 
ThreadState SetCollectionRequested ()
 
ThreadState ClearCollectionRequested ()
 
ThreadState load_relaxed () const
 

Private Attributes

std::atomic< uint8_t > raw_state_
 

Detailed Description

Definition at line 287 of file local-heap.h.

Constructor & Destructor Documentation

◆ AtomicThreadState()

v8::internal::LocalHeap::AtomicThreadState::AtomicThreadState ( ThreadState state)
inlineexplicitconstexpr

Definition at line 289 of file local-heap.h.

Member Function Documentation

◆ ClearCollectionRequested()

ThreadState v8::internal::LocalHeap::AtomicThreadState::ClearCollectionRequested ( )
inline

Definition at line 318 of file local-heap.h.

Here is the caller graph for this function:

◆ ClearSafepointRequested()

ThreadState v8::internal::LocalHeap::AtomicThreadState::ClearSafepointRequested ( )
inline

Definition at line 310 of file local-heap.h.

◆ CompareExchangeStrong()

bool v8::internal::LocalHeap::AtomicThreadState::CompareExchangeStrong ( ThreadState & expected,
ThreadState updated )
inline

Definition at line 292 of file local-heap.h.

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

◆ CompareExchangeWeak()

bool v8::internal::LocalHeap::AtomicThreadState::CompareExchangeWeak ( ThreadState & expected,
ThreadState updated )
inline

Definition at line 297 of file local-heap.h.

Here is the call graph for this function:

◆ load_relaxed()

ThreadState v8::internal::LocalHeap::AtomicThreadState::load_relaxed ( ) const
inline

Definition at line 322 of file local-heap.h.

Here is the caller graph for this function:

◆ SetCollectionRequested()

ThreadState v8::internal::LocalHeap::AtomicThreadState::SetCollectionRequested ( )
inline

Definition at line 314 of file local-heap.h.

Here is the caller graph for this function:

◆ SetParked()

ThreadState v8::internal::LocalHeap::AtomicThreadState::SetParked ( )
inline

Definition at line 302 of file local-heap.h.

Here is the caller graph for this function:

◆ SetSafepointRequested()

ThreadState v8::internal::LocalHeap::AtomicThreadState::SetSafepointRequested ( )
inline

Definition at line 306 of file local-heap.h.

Member Data Documentation

◆ raw_state_

std::atomic<uint8_t> v8::internal::LocalHeap::AtomicThreadState::raw_state_
private

Definition at line 327 of file local-heap.h.


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