V8 Project
v8::internal::GlobalHandlesExtractor Class Reference
+ Inheritance diagram for v8::internal::GlobalHandlesExtractor:
+ Collaboration diagram for v8::internal::GlobalHandlesExtractor:

Public Member Functions

 GlobalHandlesExtractor (NativeObjectsExplorer *explorer)
 
virtual ~GlobalHandlesExtractor ()
 
virtual void VisitPointers (Object **start, Object **end)
 
virtual void VisitEmbedderReference (Object **p, uint16_t class_id)
 

Private Attributes

NativeObjectsExplorerexplorer_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GlobalHandlesExtractor()

v8::internal::GlobalHandlesExtractor::GlobalHandlesExtractor ( NativeObjectsExplorer explorer)
inlineexplicit

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

2245  : explorer_(explorer) {}

◆ ~GlobalHandlesExtractor()

virtual v8::internal::GlobalHandlesExtractor::~GlobalHandlesExtractor ( )
inlinevirtual

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

2246 {}

Member Function Documentation

◆ VisitEmbedderReference()

virtual void v8::internal::GlobalHandlesExtractor::VisitEmbedderReference ( Object **  p,
uint16_t  class_id 
)
inlinevirtual

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

2250  {
2251  explorer_->VisitSubtreeWrapper(p, class_id);
2252  }
void VisitSubtreeWrapper(Object **p, uint16_t class_id)

References explorer_, and v8::internal::NativeObjectsExplorer::VisitSubtreeWrapper().

+ Here is the call graph for this function:

◆ VisitPointers()

virtual void v8::internal::GlobalHandlesExtractor::VisitPointers ( Object **  start,
Object **  end 
)
inlinevirtual

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

2247  {
2248  UNREACHABLE();
2249  }
#define UNREACHABLE()
Definition: logging.h:30

References UNREACHABLE.

Member Data Documentation

◆ explorer_

NativeObjectsExplorer* v8::internal::GlobalHandlesExtractor::explorer_
private

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

Referenced by VisitEmbedderReference().


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