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

#include <descriptor-array.h>

Collaboration diagram for v8::internal::DescriptorArrayMarkingState:

Public Types

using DescriptorIndex = uint16_t
 
using RawGCStateType = uint32_t
 

Static Public Member Functions

static constexpr RawGCStateType GetFullyMarkedState (unsigned epoch, DescriptorIndex number_of_descriptors)
 
static bool TryUpdateIndicesToMark (unsigned gc_epoch, Tagged< DescriptorArray > array, DescriptorIndex index_to_mark)
 
static std::pair< DescriptorIndex, DescriptorIndexAcquireDescriptorRangeToMark (unsigned gc_epoch, Tagged< DescriptorArray > array)
 

Static Public Attributes

static constexpr RawGCStateType kInitialGCState = 0
 

Static Private Member Functions

static constexpr RawGCStateType NewState (unsigned masked_epoch, DescriptorIndex marked, DescriptorIndex delta)
 
static bool SwapState (Tagged< DescriptorArray > array, RawGCStateType old_state, RawGCStateType new_state)
 

Detailed Description

Definition at line 269 of file descriptor-array.h.

Member Typedef Documentation

◆ DescriptorIndex

◆ RawGCStateType

Member Function Documentation

◆ AcquireDescriptorRangeToMark()

std::pair< DescriptorArrayMarkingState::DescriptorIndex, DescriptorArrayMarkingState::DescriptorIndex > v8::internal::DescriptorArrayMarkingState::AcquireDescriptorRangeToMark ( unsigned gc_epoch,
Tagged< DescriptorArray > array )
inlinestatic

Definition at line 379 of file descriptor-array-inl.h.

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

◆ GetFullyMarkedState()

static constexpr RawGCStateType v8::internal::DescriptorArrayMarkingState::GetFullyMarkedState ( unsigned epoch,
DescriptorIndex number_of_descriptors )
inlinestaticconstexpr

Definition at line 285 of file descriptor-array.h.

Here is the caller graph for this function:

◆ NewState()

static constexpr RawGCStateType v8::internal::DescriptorArrayMarkingState::NewState ( unsigned masked_epoch,
DescriptorIndex marked,
DescriptorIndex delta )
inlinestaticconstexprprivate

Definition at line 309 of file descriptor-array.h.

Here is the caller graph for this function:

◆ SwapState()

static bool v8::internal::DescriptorArrayMarkingState::SwapState ( Tagged< DescriptorArray > array,
RawGCStateType old_state,
RawGCStateType new_state )
inlinestaticprivate

Definition at line 316 of file descriptor-array.h.

Here is the caller graph for this function:

◆ TryUpdateIndicesToMark()

bool v8::internal::DescriptorArrayMarkingState::TryUpdateIndicesToMark ( unsigned gc_epoch,
Tagged< DescriptorArray > array,
DescriptorIndex index_to_mark )
inlinestatic

Definition at line 346 of file descriptor-array-inl.h.

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

Member Data Documentation

◆ kInitialGCState

RawGCStateType v8::internal::DescriptorArrayMarkingState::kInitialGCState = 0
staticconstexpr

Definition at line 283 of file descriptor-array.h.


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