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

#include <visitors.h>

Inheritance diagram for v8::internal::RootVisitor:
Collaboration diagram for v8::internal::RootVisitor:

Public Member Functions

virtual ~RootVisitor ()=default
 
virtual void VisitRootPointers (Root root, const char *description, FullObjectSlot start, FullObjectSlot end)=0
 
virtual void VisitRootPointer (Root root, const char *description, FullObjectSlot p)
 
virtual void VisitRootPointers (Root root, const char *description, OffHeapObjectSlot start, OffHeapObjectSlot end)
 
virtual void VisitRunningCode (FullObjectSlot code_slot, FullObjectSlot istream_or_smi_zero_slot)
 
virtual void Synchronize (VisitorSynchronization::SyncTag tag)
 
virtual GarbageCollector collector () const
 

Static Public Member Functions

static const char * RootName (Root root)
 

Detailed Description

Definition at line 65 of file visitors.h.

Constructor & Destructor Documentation

◆ ~RootVisitor()

virtual v8::internal::RootVisitor::~RootVisitor ( )
virtualdefault

Member Function Documentation

◆ collector()

virtual GarbageCollector v8::internal::RootVisitor::collector ( ) const
inlinevirtual

Reimplemented in v8::internal::YoungGenerationRootMarkingVisitor.

Definition at line 121 of file visitors.h.

◆ RootName()

const char * v8::internal::RootVisitor::RootName ( Root root)
static

Definition at line 17 of file visitors.cc.

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

◆ Synchronize()

virtual void v8::internal::RootVisitor::Synchronize ( VisitorSynchronization::SyncTag tag)
inlinevirtual

Reimplemented in v8::internal::ClearStaleLeftTrimmedPointerVisitor, v8::internal::ClientRootVisitor< Visitor >, v8::internal::Deserializer< IsolateT >, v8::internal::Deserializer< Isolate >, v8::internal::Deserializer< LocalIsolate >, and v8::internal::RootsSerializer.

Definition at line 112 of file visitors.h.

Here is the caller graph for this function:

◆ VisitRootPointer()

virtual void v8::internal::RootVisitor::VisitRootPointer ( Root root,
const char * description,
FullObjectSlot p )
inlinevirtual

Reimplemented in v8::internal::ClearStaleLeftTrimmedPointerVisitor, v8::internal::PointersUpdatingVisitor, v8::internal::PrecisePagePinningVisitor, v8::internal::RootMarkingVisitor, v8::internal::RootScavengeVisitor, v8::internal::RootsReferencesExtractor, and v8::internal::YoungGenerationRootMarkingVisitor.

Definition at line 75 of file visitors.h.

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

◆ VisitRootPointers() [1/2]

◆ VisitRootPointers() [2/2]

virtual void v8::internal::RootVisitor::VisitRootPointers ( Root root,
const char * description,
OffHeapObjectSlot start,
OffHeapObjectSlot end )
inlinevirtual

Reimplemented in v8::internal::ClientRootVisitor< Visitor >, v8::internal::GlobalObjectsEnumerator, v8::internal::InternalizedStringTableCleaner, v8::internal::PointersUpdatingVisitor, v8::internal::RootsReferencesExtractor, and v8::internal::UnreachableObjectsFilter::MarkingVisitor.

Definition at line 93 of file visitors.h.

Here is the call graph for this function:

◆ VisitRunningCode()

virtual void v8::internal::RootVisitor::VisitRunningCode ( FullObjectSlot code_slot,
FullObjectSlot istream_or_smi_zero_slot )
inlinevirtual

Reimplemented in v8::internal::ClearStaleLeftTrimmedPointerVisitor, v8::internal::ClientRootVisitor< Visitor >, v8::internal::RootMarkingVisitor, and v8::internal::RootsReferencesExtractor.

Definition at line 101 of file visitors.h.

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

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