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

#include <mark-compact.h>

Inheritance diagram for v8::internal::RootMarkingVisitor:
Collaboration diagram for v8::internal::RootMarkingVisitor:

Public Member Functions

 RootMarkingVisitor (MarkCompactCollector *collector)
 
 ~RootMarkingVisitor ()
 
V8_INLINE void VisitRootPointer (Root root, const char *description, FullObjectSlot p) final
 
V8_INLINE void VisitRootPointers (Root root, const char *description, FullObjectSlot start, FullObjectSlot end) final
 
void VisitRunningCode (FullObjectSlot code_slot, FullObjectSlot istream_or_smi_zero_slot) final
 
 RootMarkingVisitor (const RootMarkingVisitor &)=delete
 
RootMarkingVisitoroperator= (const RootMarkingVisitor &)=delete
 
- Public Member Functions inherited from v8::internal::RootVisitor
virtual ~RootVisitor ()=default
 
virtual void VisitRootPointers (Root root, const char *description, OffHeapObjectSlot start, OffHeapObjectSlot end)
 
virtual void Synchronize (VisitorSynchronization::SyncTag tag)
 
virtual GarbageCollector collector () const
 

Private Member Functions

V8_INLINE void MarkObjectByPointer (Root root, FullObjectSlot p)
 

Private Attributes

MarkCompactCollector *const collector_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::RootVisitor
static const char * RootName (Root root)
 

Detailed Description

Definition at line 31 of file mark-compact.h.

Constructor & Destructor Documentation

◆ RootMarkingVisitor() [1/2]

v8::internal::RootMarkingVisitor::RootMarkingVisitor ( MarkCompactCollector * collector)
explicit

Definition at line 6170 of file mark-compact.cc.

◆ ~RootMarkingVisitor()

v8::internal::RootMarkingVisitor::~RootMarkingVisitor ( )
default

◆ RootMarkingVisitor() [2/2]

v8::internal::RootMarkingVisitor::RootMarkingVisitor ( const RootMarkingVisitor & )
delete

Member Function Documentation

◆ MarkObjectByPointer()

void v8::internal::RootMarkingVisitor::MarkObjectByPointer ( Root root,
FullObjectSlot p )
private

Definition at line 106 of file mark-compact-inl.h.

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

◆ operator=()

RootMarkingVisitor & v8::internal::RootMarkingVisitor::operator= ( const RootMarkingVisitor & )
delete

◆ VisitRootPointer()

void v8::internal::RootMarkingVisitor::VisitRootPointer ( Root root,
const char * description,
FullObjectSlot p )
finalvirtual

Reimplemented from v8::internal::RootVisitor.

Definition at line 92 of file mark-compact-inl.h.

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

◆ VisitRootPointers()

void v8::internal::RootMarkingVisitor::VisitRootPointers ( Root root,
const char * description,
FullObjectSlot start,
FullObjectSlot end )
finalvirtual

Implements v8::internal::RootVisitor.

Definition at line 98 of file mark-compact-inl.h.

Here is the call graph for this function:

◆ VisitRunningCode()

void v8::internal::RootMarkingVisitor::VisitRunningCode ( FullObjectSlot code_slot,
FullObjectSlot istream_or_smi_zero_slot )
finalvirtual

Reimplemented from v8::internal::RootVisitor.

Definition at line 6175 of file mark-compact.cc.

Here is the call graph for this function:

Member Data Documentation

◆ collector_

MarkCompactCollector* const v8::internal::RootMarkingVisitor::collector_
private

Definition at line 53 of file mark-compact.h.


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