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

Public Member Functions

 CustomRootBodyMarkingVisitor (MarkCompactCollector *collector)
 
void VisitPointer (Tagged< HeapObject > host, ObjectSlot p) final
 
void VisitMapPointer (Tagged< HeapObject > host) final
 
void VisitPointers (Tagged< HeapObject > host, ObjectSlot start, ObjectSlot end) final
 
void VisitInstructionStreamPointer (Tagged< Code > host, InstructionStreamSlot slot) override
 
void VisitPointers (Tagged< HeapObject > host, MaybeObjectSlot start, MaybeObjectSlot end) final
 
void VisitCodeTarget (Tagged< InstructionStream > host, RelocInfo *rinfo) override
 
void VisitEmbeddedPointer (Tagged< InstructionStream > host, RelocInfo *rinfo) override
 
- Public Member Functions inherited from v8::internal::ObjectVisitorWithCageBases
 ObjectVisitorWithCageBases (PtrComprCageBase cage_base, PtrComprCageBase code_cage_base)
 
 ObjectVisitorWithCageBases (Isolate *isolate)
 
 ObjectVisitorWithCageBases (Heap *heap)
 
PtrComprCageBase cage_base () const
 
PtrComprCageBase code_cage_base () const
 
- Public Member Functions inherited from v8::internal::ObjectVisitor
virtual ~ObjectVisitor ()=default
 
virtual void VisitCustomWeakPointers (Tagged< HeapObject > host, ObjectSlot start, ObjectSlot end)
 
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 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)
 

Private Member Functions

V8_INLINE void MarkObject (Tagged< HeapObject > host, Tagged< Object > object)
 

Private Attributes

MarkCompactCollector *const collector_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CustomRootBodyMarkingVisitor()

v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::CustomRootBodyMarkingVisitor ( MarkCompactCollector * collector)
inlineexplicit

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

Member Function Documentation

◆ MarkObject()

V8_INLINE void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::MarkObject ( Tagged< HeapObject > host,
Tagged< Object > object )
inlineprivate

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

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

◆ VisitCodeTarget()

void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::VisitCodeTarget ( Tagged< InstructionStream > host,
RelocInfo * rinfo )
inlineoverridevirtual

Reimplemented from v8::internal::ObjectVisitor.

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

Here is the call graph for this function:

◆ VisitEmbeddedPointer()

void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::VisitEmbeddedPointer ( Tagged< InstructionStream > host,
RelocInfo * rinfo )
inlineoverridevirtual

Reimplemented from v8::internal::ObjectVisitor.

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

Here is the call graph for this function:

◆ VisitInstructionStreamPointer()

void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::VisitInstructionStreamPointer ( Tagged< Code > host,
InstructionStreamSlot slot )
inlineoverridevirtual

Implements v8::internal::ObjectVisitor.

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

Here is the call graph for this function:

◆ VisitMapPointer()

void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::VisitMapPointer ( Tagged< HeapObject > host)
inlinefinalvirtual

Reimplemented from v8::internal::ObjectVisitor.

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

Here is the call graph for this function:

◆ VisitPointer()

void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::VisitPointer ( Tagged< HeapObject > host,
ObjectSlot p )
inlinefinalvirtual

Reimplemented from v8::internal::ObjectVisitor.

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

Here is the call graph for this function:

◆ VisitPointers() [1/2]

void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::VisitPointers ( Tagged< HeapObject > host,
MaybeObjectSlot start,
MaybeObjectSlot end )
inlinefinalvirtual

Implements v8::internal::ObjectVisitor.

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

Here is the call graph for this function:

◆ VisitPointers() [2/2]

void v8::internal::MarkCompactCollector::CustomRootBodyMarkingVisitor::VisitPointers ( Tagged< HeapObject > host,
ObjectSlot start,
ObjectSlot end )
inlinefinalvirtual

Implements v8::internal::ObjectVisitor.

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

Here is the call graph for this function:

Member Data Documentation

◆ collector_

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

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


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