V8 API Reference Guide generated from the header files
Public Member Functions | Friends
v8::HeapStatistics Class Reference

#include <v8.h>

Public Member Functions

size_t total_heap_size ()
 
size_t total_heap_size_executable ()
 
size_t total_physical_size ()
 
size_t total_available_size ()
 
size_t used_heap_size ()
 
size_t heap_size_limit ()
 
size_t malloced_memory ()
 
size_t peak_malloced_memory ()
 
size_t number_of_native_contexts ()
 
size_t number_of_detached_contexts ()
 
size_t does_zap_garbage ()
 

Friends

class V8
 
class Isolate
 

Detailed Description

Collection of V8 heap information.

Instances of this class can be passed to v8::V8::HeapStatistics to get heap statistics from V8.

Member Function Documentation

◆ does_zap_garbage()

size_t v8::HeapStatistics::does_zap_garbage ( )
inline

Returns a 0/1 boolean, which signifies whether the V8 overwrite heap garbage with a bit pattern.


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