v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <heap-statistics.h>
Data Fields | |
std::string | name |
size_t | committed_size_bytes = 0 |
size_t | resident_size_bytes = 0 |
size_t | used_size_bytes = 0 |
std::vector< PageStatistics > | page_stats |
FreeListStatistics | free_list_stats |
Space granularity statistics. For each space the statistics record the space name, the amount of allocated memory and overall used memory for the space. The statistics also contain statistics for each of the space's pages, its freelist and the objects allocated on the space.
Definition at line 84 of file heap-statistics.h.
size_t committed_size_bytes = 0 |
Overall committed amount of memory for the heap.
Definition at line 88 of file heap-statistics.h.
FreeListStatistics free_list_stats |
Statistics for the freelist of the space.
Definition at line 96 of file heap-statistics.h.
std::string name |
The space name
Definition at line 86 of file heap-statistics.h.
std::vector<PageStatistics> page_stats |
Statistics for each of the pages in the space.
Definition at line 94 of file heap-statistics.h.
size_t resident_size_bytes = 0 |
Resident amount of memory held by the heap.
Definition at line 90 of file heap-statistics.h.
size_t used_size_bytes = 0 |
Amount of memory actually used on the space.
Definition at line 92 of file heap-statistics.h.