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

Public Member Functions

 RootsReferencesExtractor (V8HeapExplorer *explorer)
 
void SetVisitingWeakRoots ()
 
void VisitRootPointer (Root root, const char *description, FullObjectSlot p) override
 
void VisitRootPointers (Root root, const char *description, FullObjectSlot start, FullObjectSlot end) override
 
void VisitRootPointers (Root root, const char *description, OffHeapObjectSlot start, OffHeapObjectSlot end) override
 
void VisitRunningCode (FullObjectSlot code_slot, FullObjectSlot istream_or_smi_zero_slot) final
 
- Public Member Functions inherited from v8::internal::RootVisitor
virtual ~RootVisitor ()=default
 
virtual void Synchronize (VisitorSynchronization::SyncTag tag)
 
virtual GarbageCollector collector () const
 

Private Attributes

V8HeapExplorerexplorer_
 
bool visiting_weak_roots_
 

Additional Inherited Members

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

Detailed Description

Definition at line 2463 of file heap-snapshot-generator.cc.

Constructor & Destructor Documentation

◆ RootsReferencesExtractor()

v8::internal::RootsReferencesExtractor::RootsReferencesExtractor ( V8HeapExplorer * explorer)
inlineexplicit

Definition at line 2465 of file heap-snapshot-generator.cc.

Member Function Documentation

◆ SetVisitingWeakRoots()

void v8::internal::RootsReferencesExtractor::SetVisitingWeakRoots ( )
inline

Definition at line 2468 of file heap-snapshot-generator.cc.

Here is the caller graph for this function:

◆ VisitRootPointer()

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

Reimplemented from v8::internal::RootVisitor.

Definition at line 2470 of file heap-snapshot-generator.cc.

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

◆ VisitRootPointers() [1/2]

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

Implements v8::internal::RootVisitor.

Definition at line 2483 of file heap-snapshot-generator.cc.

Here is the call graph for this function:

◆ VisitRootPointers() [2/2]

void v8::internal::RootsReferencesExtractor::VisitRootPointers ( Root root,
const char * description,
OffHeapObjectSlot start,
OffHeapObjectSlot end )
inlineoverridevirtual

Reimplemented from v8::internal::RootVisitor.

Definition at line 2491 of file heap-snapshot-generator.cc.

Here is the call graph for this function:

◆ VisitRunningCode()

void v8::internal::RootsReferencesExtractor::VisitRunningCode ( FullObjectSlot code_slot,
FullObjectSlot istream_or_smi_zero_slot )
inlinefinalvirtual

Reimplemented from v8::internal::RootVisitor.

Definition at line 2504 of file heap-snapshot-generator.cc.

Here is the call graph for this function:

Member Data Documentation

◆ explorer_

V8HeapExplorer* v8::internal::RootsReferencesExtractor::explorer_
private

Definition at line 2516 of file heap-snapshot-generator.cc.

◆ visiting_weak_roots_

bool v8::internal::RootsReferencesExtractor::visiting_weak_roots_
private

Definition at line 2517 of file heap-snapshot-generator.cc.


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