v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
HeapProfiler::HeapSnapshotOptions Struct Referencefinal

#include <v8-profiler.h>

Collaboration diagram for HeapProfiler::HeapSnapshotOptions:

Public Member Functions

 HeapSnapshotOptions ()
 

Data Fields

ActivityControlcontrol = nullptr
 
ObjectNameResolverglobal_object_name_resolver = nullptr
 
HeapSnapshotMode snapshot_mode = HeapSnapshotMode::kRegular
 
NumericsMode numerics_mode = NumericsMode::kHideNumericValues
 
cppgc::EmbedderStackState stack_state
 

Detailed Description

Definition at line 1045 of file v8-profiler.h.

Constructor & Destructor Documentation

◆ HeapSnapshotOptions()

HeapSnapshotOptions ( )
inline

Definition at line 1049 of file v8-profiler.h.

Field Documentation

◆ control

ActivityControl* control = nullptr

The control used to report intermediate progress to.

Definition at line 1054 of file v8-profiler.h.

◆ global_object_name_resolver

ObjectNameResolver* global_object_name_resolver = nullptr

The resolver used by the snapshot generator to get names for V8 objects.

Definition at line 1058 of file v8-profiler.h.

◆ numerics_mode

Mode for dealing with numeric values, see NumericsMode.

Definition at line 1066 of file v8-profiler.h.

◆ snapshot_mode

Mode for taking the snapshot, see HeapSnapshotMode.

Definition at line 1062 of file v8-profiler.h.

◆ stack_state

Initial value:

Whether stack is considered as a root set.

Definition at line 1070 of file v8-profiler.h.


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