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

#include <heap-snapshot-generator.h>

Collaboration diagram for v8::internal::NativeObjectsExplorer:

Public Member Functions

 NativeObjectsExplorer (HeapSnapshot *snapshot, SnapshottingProgressReportingInterface *progress)
 
 NativeObjectsExplorer (const NativeObjectsExplorer &)=delete
 
NativeObjectsExploreroperator= (const NativeObjectsExplorer &)=delete
 
bool IterateAndExtractReferences (HeapSnapshotGenerator *generator)
 

Private Member Functions

HeapEntryEntryForEmbedderGraphNode (EmbedderGraph::Node *node)
 
void MergeNodeIntoEntry (HeapEntry *entry, EmbedderGraph::Node *original_node, EmbedderGraph::Node *wrapper_node)
 

Private Attributes

Isolateisolate_
 
HeapSnapshotsnapshot_
 
StringsStoragenames_
 
HeapObjectsMapheap_object_map_
 
std::unique_ptr< HeapEntriesAllocatorembedder_graph_entries_allocator_
 
HeapSnapshotGeneratorgenerator_ = nullptr
 

Static Private Attributes

static HeapThing const kNativesRootObject
 

Friends

class GlobalHandlesExtractor
 

Detailed Description

Definition at line 606 of file heap-snapshot-generator.h.

Constructor & Destructor Documentation

◆ NativeObjectsExplorer() [1/2]

v8::internal::NativeObjectsExplorer::NativeObjectsExplorer ( HeapSnapshot * snapshot,
SnapshottingProgressReportingInterface * progress )

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

◆ NativeObjectsExplorer() [2/2]

v8::internal::NativeObjectsExplorer::NativeObjectsExplorer ( const NativeObjectsExplorer & )
delete

Member Function Documentation

◆ EntryForEmbedderGraphNode()

HeapEntry * v8::internal::NativeObjectsExplorer::EntryForEmbedderGraphNode ( EmbedderGraph::Node * node)
private

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

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

◆ IterateAndExtractReferences()

bool v8::internal::NativeObjectsExplorer::IterateAndExtractReferences ( HeapSnapshotGenerator * generator)

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

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

◆ MergeNodeIntoEntry()

void v8::internal::NativeObjectsExplorer::MergeNodeIntoEntry ( HeapEntry * entry,
EmbedderGraph::Node * original_node,
EmbedderGraph::Node * wrapper_node )
private

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

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

◆ operator=()

NativeObjectsExplorer & v8::internal::NativeObjectsExplorer::operator= ( const NativeObjectsExplorer & )
delete

Friends And Related Symbol Documentation

◆ GlobalHandlesExtractor

friend class GlobalHandlesExtractor
friend

Definition at line 631 of file heap-snapshot-generator.h.

Member Data Documentation

◆ embedder_graph_entries_allocator_

std::unique_ptr<HeapEntriesAllocator> v8::internal::NativeObjectsExplorer::embedder_graph_entries_allocator_
private

Definition at line 625 of file heap-snapshot-generator.h.

◆ generator_

HeapSnapshotGenerator* v8::internal::NativeObjectsExplorer::generator_ = nullptr
private

Definition at line 627 of file heap-snapshot-generator.h.

◆ heap_object_map_

HeapObjectsMap* v8::internal::NativeObjectsExplorer::heap_object_map_
private

Definition at line 624 of file heap-snapshot-generator.h.

◆ isolate_

Isolate* v8::internal::NativeObjectsExplorer::isolate_
private

Definition at line 621 of file heap-snapshot-generator.h.

◆ kNativesRootObject

HeapThing const v8::internal::NativeObjectsExplorer::kNativesRootObject
staticprivate

Definition at line 629 of file heap-snapshot-generator.h.

◆ names_

StringsStorage* v8::internal::NativeObjectsExplorer::names_
private

Definition at line 623 of file heap-snapshot-generator.h.

◆ snapshot_

HeapSnapshot* v8::internal::NativeObjectsExplorer::snapshot_
private

Definition at line 622 of file heap-snapshot-generator.h.


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