v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
HeapStatistics::PageStatistics Struct Reference

#include <heap-statistics.h>

Data Fields

size_t committed_size_bytes = 0
 
size_t resident_size_bytes = 0
 
size_t used_size_bytes = 0
 
std::vector< ObjectStatsEntryobject_statistics
 

Detailed Description

Page granularity statistics. For each page the statistics record the allocated memory size and overall used memory size for the page.

Definition at line 51 of file heap-statistics.h.

Field Documentation

◆ committed_size_bytes

size_t committed_size_bytes = 0

Overall committed amount of memory for the page.

Definition at line 53 of file heap-statistics.h.

◆ object_statistics

std::vector<ObjectStatsEntry> object_statistics

Statistics for object allocated on the page. Filled only when NameProvider::HideInternalNames() is false.

Definition at line 60 of file heap-statistics.h.

◆ resident_size_bytes

size_t resident_size_bytes = 0

Resident amount of memory held by the page.

Definition at line 55 of file heap-statistics.h.

◆ used_size_bytes

size_t used_size_bytes = 0

Amount of memory actually used on the page.

Definition at line 57 of file heap-statistics.h.


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