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

#include <visitors.h>

Inheritance diagram for v8::internal::ObjectVisitor:
Collaboration diagram for v8::internal::ObjectVisitor:

Public Member Functions

virtual ~ObjectVisitor ()=default
 
virtual void VisitPointers (Tagged< HeapObject > host, ObjectSlot start, ObjectSlot end)=0
 
virtual void VisitPointers (Tagged< HeapObject > host, MaybeObjectSlot start, MaybeObjectSlot end)=0
 
virtual void VisitInstructionStreamPointer (Tagged< Code > host, InstructionStreamSlot slot)=0
 
virtual void VisitCustomWeakPointers (Tagged< HeapObject > host, ObjectSlot start, ObjectSlot end)
 
virtual void VisitPointer (Tagged< HeapObject > host, ObjectSlot p)
 
virtual void VisitPointer (Tagged< HeapObject > host, MaybeObjectSlot p)
 
virtual void VisitCustomWeakPointer (Tagged< HeapObject > host, ObjectSlot p)
 
virtual void VisitEphemeron (Tagged< HeapObject > host, int index, ObjectSlot key, ObjectSlot value)
 
void VisitRelocInfo (Tagged< InstructionStream > host, RelocIterator *it)
 
virtual void VisitCodeTarget (Tagged< InstructionStream > host, RelocInfo *rinfo)
 
virtual void VisitEmbeddedPointer (Tagged< InstructionStream > host, RelocInfo *rinfo)
 
virtual void VisitExternalReference (Tagged< InstructionStream > host, RelocInfo *rinfo)
 
virtual void VisitInternalReference (Tagged< InstructionStream > host, RelocInfo *rinfo)
 
virtual void VisitOffHeapTarget (Tagged< InstructionStream > host, RelocInfo *rinfo)
 
virtual void VisitExternalPointer (Tagged< HeapObject > host, ExternalPointerSlot slot)
 
virtual void VisitCppHeapPointer (Tagged< HeapObject > host, CppHeapPointerSlot slot)
 
virtual void VisitIndirectPointer (Tagged< HeapObject > host, IndirectPointerSlot slot, IndirectPointerMode mode)
 
virtual void VisitProtectedPointer (Tagged< TrustedObject > host, ProtectedPointerSlot slot)
 
virtual void VisitProtectedPointer (Tagged< TrustedObject > host, ProtectedMaybeObjectSlot slot)
 
virtual void VisitTrustedPointerTableEntry (Tagged< HeapObject > host, IndirectPointerSlot slot)
 
virtual void VisitJSDispatchTableEntry (Tagged< HeapObject > host, JSDispatchHandle handle)
 
virtual void VisitMapPointer (Tagged< HeapObject > host)
 

Detailed Description

Definition at line 130 of file visitors.h.

Constructor & Destructor Documentation

◆ ~ObjectVisitor()

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

Member Function Documentation

◆ VisitCodeTarget()

◆ VisitCppHeapPointer()

virtual void v8::internal::ObjectVisitor::VisitCppHeapPointer ( Tagged< HeapObject > host,
CppHeapPointerSlot slot )
inlinevirtual

◆ VisitCustomWeakPointer()

virtual void v8::internal::ObjectVisitor::VisitCustomWeakPointer ( Tagged< HeapObject > host,
ObjectSlot p )
inlinevirtual

Reimplemented in v8::internal::ObjectVisitorForwarder.

Definition at line 163 of file visitors.h.

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

◆ VisitCustomWeakPointers()

virtual void v8::internal::ObjectVisitor::VisitCustomWeakPointers ( Tagged< HeapObject > host,
ObjectSlot start,
ObjectSlot end )
inlinevirtual

Reimplemented in v8::internal::MarkingVisitorBase< ConcreteVisitor >, v8::internal::MarkingVisitorBase< ConcurrentMarkingVisitor >, v8::internal::MarkingVisitorBase< MainMarkingVisitor >, and v8::internal::ObjectVisitorForwarder.

Definition at line 151 of file visitors.h.

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

◆ VisitEmbeddedPointer()

◆ VisitEphemeron()

virtual void v8::internal::ObjectVisitor::VisitEphemeron ( Tagged< HeapObject > host,
int index,
ObjectSlot key,
ObjectSlot value )
inlinevirtual

Reimplemented in v8::internal::IterateAndScavengePromotedObjectsVisitor, v8::internal::ObjectVisitorForwarder, and v8::internal::RecordMigratedSlotVisitor.

Definition at line 167 of file visitors.h.

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

◆ VisitExternalPointer()

virtual void v8::internal::ObjectVisitor::VisitExternalPointer ( Tagged< HeapObject > host,
ExternalPointerSlot slot )
inlinevirtual

◆ VisitExternalReference()

virtual void v8::internal::ObjectVisitor::VisitExternalReference ( Tagged< InstructionStream > host,
RelocInfo * rinfo )
inlinevirtual

Reimplemented in v8::internal::ObjectVisitorForwarder, v8::internal::RecordMigratedSlotVisitor, and v8::internal::Serializer::ObjectSerializer.

Definition at line 180 of file visitors.h.

Here is the caller graph for this function:

◆ VisitIndirectPointer()

virtual void v8::internal::ObjectVisitor::VisitIndirectPointer ( Tagged< HeapObject > host,
IndirectPointerSlot slot,
IndirectPointerMode mode )
inlinevirtual

◆ VisitInstructionStreamPointer()

◆ VisitInternalReference()

virtual void v8::internal::ObjectVisitor::VisitInternalReference ( Tagged< InstructionStream > host,
RelocInfo * rinfo )
inlinevirtual

Reimplemented in v8::internal::ObjectVisitorForwarder, v8::internal::RecordMigratedSlotVisitor, and v8::internal::Serializer::ObjectSerializer.

Definition at line 182 of file visitors.h.

Here is the caller graph for this function:

◆ VisitJSDispatchTableEntry()

virtual void v8::internal::ObjectVisitor::VisitJSDispatchTableEntry ( Tagged< HeapObject > host,
JSDispatchHandle handle )
inlinevirtual

Reimplemented in v8::internal::IndexedReferencesExtractor, v8::internal::MarkingVisitorBase< ConcreteVisitor >, v8::internal::MarkingVisitorBase< ConcurrentMarkingVisitor >, v8::internal::MarkingVisitorBase< MainMarkingVisitor >, v8::internal::ObjectVisitorForwarder, and v8::internal::Serializer::ObjectSerializer.

Definition at line 208 of file visitors.h.

Here is the caller graph for this function:

◆ VisitMapPointer()

◆ VisitOffHeapTarget()

virtual void v8::internal::ObjectVisitor::VisitOffHeapTarget ( Tagged< InstructionStream > host,
RelocInfo * rinfo )
inlinevirtual

Reimplemented in v8::internal::ObjectVisitorForwarder, and v8::internal::Serializer::ObjectSerializer.

Definition at line 185 of file visitors.h.

Here is the caller graph for this function:

◆ VisitPointer() [1/2]

virtual void v8::internal::ObjectVisitor::VisitPointer ( Tagged< HeapObject > host,
MaybeObjectSlot p )
inlinevirtual

◆ VisitPointer() [2/2]

virtual void v8::internal::ObjectVisitor::VisitPointer ( Tagged< HeapObject > host,
ObjectSlot p )
inlinevirtual

Reimplemented in v8::internal::ClientObjectVisitor< Visitor >, v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor, v8::internal::MarkCompactCollector::SharedHeapObjectVisitor, v8::internal::MarkingVisitorBase< ConcreteVisitor >, v8::internal::MarkingVisitorBase< ConcurrentMarkingVisitor >, v8::internal::MarkingVisitorBase< MainMarkingVisitor >, v8::internal::ObjectVisitorForwarder, v8::internal::PointersUpdatingVisitor, v8::internal::RecordMigratedSlotVisitor, and v8::internal::YoungGenerationMarkingVisitor< marking_mode >.

Definition at line 157 of file visitors.h.

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

◆ VisitPointers() [1/2]

◆ VisitPointers() [2/2]

◆ VisitProtectedPointer() [1/2]

◆ VisitProtectedPointer() [2/2]

virtual void v8::internal::ObjectVisitor::VisitProtectedPointer ( Tagged< TrustedObject > host,
ProtectedPointerSlot slot )
inlinevirtual

◆ VisitRelocInfo()

void v8::internal::ObjectVisitor::VisitRelocInfo ( Tagged< InstructionStream > host,
RelocIterator * it )

Definition at line 30 of file visitors.cc.

Here is the caller graph for this function:

◆ VisitTrustedPointerTableEntry()

virtual void v8::internal::ObjectVisitor::VisitTrustedPointerTableEntry ( Tagged< HeapObject > host,
IndirectPointerSlot slot )
inlinevirtual

Reimplemented in v8::internal::MarkingVisitorBase< ConcreteVisitor >, v8::internal::MarkingVisitorBase< ConcurrentMarkingVisitor >, v8::internal::MarkingVisitorBase< MainMarkingVisitor >, v8::internal::ObjectVisitorForwarder, v8::internal::RecordMigratedSlotVisitor, and v8::internal::Serializer::ObjectSerializer.

Definition at line 205 of file visitors.h.

Here is the caller graph for this function:

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