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

#include <marking-state.h>

Inheritance diagram for cppgc::internal::MarkingStateBase:
Collaboration diagram for cppgc::internal::MarkingStateBase:

Public Member Functions

 MarkingStateBase (HeapBase &, MarkingWorklists &)
 
virtual ~MarkingStateBase ()=default
 
 MarkingStateBase (const MarkingStateBase &)=delete
 
MarkingStateBaseoperator= (const MarkingStateBase &)=delete
 
void MarkAndPush (const void *, TraceDescriptor)
 
void MarkAndPush (HeapObjectHeader &)
 
void PushMarked (HeapObjectHeader &, TraceDescriptor desc)
 
virtual V8_EXPORT_PRIVATE void Publish ()
 
MarkingWorklists::MarkingWorklist::Local & marking_worklist ()
 
MarkingWorklists::NotFullyConstructedWorklistnot_fully_constructed_worklist ()
 

Protected Member Functions

void MarkAndPush (HeapObjectHeader &, TraceDescriptor)
 
bool MarkNoPush (HeapObjectHeader &)
 

Protected Attributes

HeapBaseheap_
 
MarkingWorklists::MarkingWorklist::Local marking_worklist_
 
MarkingWorklists::NotFullyConstructedWorklistnot_fully_constructed_worklist_
 

Detailed Description

Definition at line 27 of file marking-state.h.

Constructor & Destructor Documentation

◆ MarkingStateBase() [1/2]

cppgc::internal::MarkingStateBase::MarkingStateBase ( HeapBase & heap,
MarkingWorklists & marking_worklists )
inline

Definition at line 62 of file marking-state.h.

◆ ~MarkingStateBase()

virtual cppgc::internal::MarkingStateBase::~MarkingStateBase ( )
virtualdefault

◆ MarkingStateBase() [2/2]

cppgc::internal::MarkingStateBase::MarkingStateBase ( const MarkingStateBase & )
delete

Member Function Documentation

◆ MarkAndPush() [1/3]

void cppgc::internal::MarkingStateBase::MarkAndPush ( const void * object,
TraceDescriptor desc )
inline

Definition at line 69 of file marking-state.h.

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

◆ MarkAndPush() [2/3]

void cppgc::internal::MarkingStateBase::MarkAndPush ( HeapObjectHeader & header)
inline

Definition at line 96 of file marking-state.h.

Here is the call graph for this function:

◆ MarkAndPush() [3/3]

void cppgc::internal::MarkingStateBase::MarkAndPush ( HeapObjectHeader & header,
TraceDescriptor desc )
inlineprotected

Definition at line 76 of file marking-state.h.

Here is the call graph for this function:

◆ marking_worklist()

MarkingWorklists::MarkingWorklist::Local & cppgc::internal::MarkingStateBase::marking_worklist ( )
inline

Definition at line 42 of file marking-state.h.

Here is the caller graph for this function:

◆ MarkNoPush()

bool cppgc::internal::MarkingStateBase::MarkNoPush ( HeapObjectHeader & header)
inlineprotected

Definition at line 87 of file marking-state.h.

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

◆ not_fully_constructed_worklist()

MarkingWorklists::NotFullyConstructedWorklist & cppgc::internal::MarkingStateBase::not_fully_constructed_worklist ( )
inline

Definition at line 46 of file marking-state.h.

Here is the caller graph for this function:

◆ operator=()

MarkingStateBase & cppgc::internal::MarkingStateBase::operator= ( const MarkingStateBase & )
delete

◆ Publish()

void cppgc::internal::MarkingStateBase::Publish ( )
virtual

Reimplemented in cppgc::internal::BasicMarkingState, and cppgc::internal::MutatorMarkingState.

Definition at line 15 of file marking-state.cc.

Here is the caller graph for this function:

◆ PushMarked()

void cppgc::internal::MarkingStateBase::PushMarked ( HeapObjectHeader & header,
TraceDescriptor desc )
inline

Definition at line 103 of file marking-state.h.

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

Member Data Documentation

◆ heap_

HeapBase& cppgc::internal::MarkingStateBase::heap_
protected

Definition at line 55 of file marking-state.h.

◆ marking_worklist_

MarkingWorklists::MarkingWorklist::Local cppgc::internal::MarkingStateBase::marking_worklist_
protected

Definition at line 57 of file marking-state.h.

◆ not_fully_constructed_worklist_

MarkingWorklists::NotFullyConstructedWorklist& cppgc::internal::MarkingStateBase::not_fully_constructed_worklist_
protected

Definition at line 59 of file marking-state.h.


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