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

#include <heap.h>

Inheritance diagram for v8::internal::ClearStaleLeftTrimmedPointerVisitor:
Collaboration diagram for v8::internal::ClearStaleLeftTrimmedPointerVisitor:

Public Member Functions

 ClearStaleLeftTrimmedPointerVisitor (Heap *heap, RootVisitor *visitor)
 
void VisitRootPointer (Root root, const char *description, FullObjectSlot p) override
 
void VisitRootPointers (Root root, const char *description, FullObjectSlot start, FullObjectSlot end) override
 
void VisitRunningCode (FullObjectSlot code_slot, FullObjectSlot istream_or_smi_zero_slot) override
 
void Synchronize (VisitorSynchronization::SyncTag tag) override
 
PtrComprCageBase cage_base () const
 
- Public Member Functions inherited from v8::internal::RootVisitor
virtual ~RootVisitor ()=default
 
virtual void VisitRootPointers (Root root, const char *description, OffHeapObjectSlot start, OffHeapObjectSlot end)
 
virtual GarbageCollector collector () const
 

Private Member Functions

void ClearLeftTrimmedOrForward (Root root, const char *description, FullObjectSlot p)
 
bool IsLeftTrimmed (FullObjectSlot p)
 

Private Attributes

Heapheap_
 
RootVisitorvisitor_
 

Additional Inherited Members

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

Detailed Description

Definition at line 2729 of file heap.h.

Constructor & Destructor Documentation

◆ ClearStaleLeftTrimmedPointerVisitor()

v8::internal::ClearStaleLeftTrimmedPointerVisitor::ClearStaleLeftTrimmedPointerVisitor ( Heap * heap,
RootVisitor * visitor )

Definition at line 4623 of file heap.cc.

Member Function Documentation

◆ cage_base()

PtrComprCageBase v8::internal::ClearStaleLeftTrimmedPointerVisitor::cage_base ( ) const
inline

Definition at line 2748 of file heap.h.

◆ ClearLeftTrimmedOrForward()

void v8::internal::ClearStaleLeftTrimmedPointerVisitor::ClearLeftTrimmedOrForward ( Root root,
const char * description,
FullObjectSlot p )
inlineprivate

Definition at line 4580 of file heap.cc.

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

◆ IsLeftTrimmed()

bool v8::internal::ClearStaleLeftTrimmedPointerVisitor::IsLeftTrimmed ( FullObjectSlot p)
inlineprivate

Definition at line 4591 of file heap.cc.

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

◆ Synchronize()

void v8::internal::ClearStaleLeftTrimmedPointerVisitor::Synchronize ( VisitorSynchronization::SyncTag tag)
inlineoverridevirtual

Reimplemented from v8::internal::RootVisitor.

Definition at line 2742 of file heap.h.

◆ VisitRootPointer()

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

Reimplemented from v8::internal::RootVisitor.

Definition at line 4635 of file heap.cc.

Here is the call graph for this function:

◆ VisitRootPointers()

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

Implements v8::internal::RootVisitor.

Definition at line 4640 of file heap.cc.

Here is the call graph for this function:

◆ VisitRunningCode()

void v8::internal::ClearStaleLeftTrimmedPointerVisitor::VisitRunningCode ( FullObjectSlot code_slot,
FullObjectSlot istream_or_smi_zero_slot )
overridevirtual

Reimplemented from v8::internal::RootVisitor.

Definition at line 4648 of file heap.cc.

Here is the call graph for this function:

Member Data Documentation

◆ heap_

Heap* v8::internal::ClearStaleLeftTrimmedPointerVisitor::heap_
private

Definition at line 2761 of file heap.h.

◆ visitor_

RootVisitor* v8::internal::ClearStaleLeftTrimmedPointerVisitor::visitor_
private

Definition at line 2762 of file heap.h.


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