v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <v8-cppgc.h>
Public Member Functions | |
virtual | ~CustomSpaceStatisticsReceiver ()=default |
virtual void | AllocatedBytes (cppgc::CustomSpaceIndex space_index, size_t bytes)=0 |
Provided as input to CppHeap::CollectCustomSpaceStatisticsAtLastGC()
.
Its method is invoked with the results of the statistic collection.
Definition at line 212 of file v8-cppgc.h.
|
virtualdefault |
|
pure virtual |
Reports the size of a space at the last GC. It is called for each space that was requested in CollectCustomSpaceStatisticsAtLastGC()
.
space_index | The index of the space. |
bytes | The total size of live objects in the space at the last GC. It is zero if there was no GC yet. |