Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
v8::HeapStatistics Class Reference

#include <v8-statistics.h>

Public Member Functions

 HeapStatistics ()
 
size_t total_heap_size ()
 
size_t total_heap_size_executable ()
 
size_t total_physical_size ()
 
size_t total_available_size ()
 
size_t total_global_handles_size ()
 
size_t used_global_handles_size ()
 
size_t used_heap_size ()
 
size_t heap_size_limit ()
 
size_t malloced_memory ()
 
size_t external_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::Isolate::GetHeapStatistics to get heap statistics from V8.

Constructor & Destructor Documentation

◆ HeapStatistics()

v8::HeapStatistics::HeapStatistics ( )

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.

◆ external_memory()

size_t v8::HeapStatistics::external_memory ( )
inline

◆ heap_size_limit()

size_t v8::HeapStatistics::heap_size_limit ( )
inline

◆ malloced_memory()

size_t v8::HeapStatistics::malloced_memory ( )
inline

◆ number_of_detached_contexts()

size_t v8::HeapStatistics::number_of_detached_contexts ( )
inline

◆ number_of_native_contexts()

size_t v8::HeapStatistics::number_of_native_contexts ( )
inline

◆ peak_malloced_memory()

size_t v8::HeapStatistics::peak_malloced_memory ( )
inline

◆ total_available_size()

size_t v8::HeapStatistics::total_available_size ( )
inline

◆ total_global_handles_size()

size_t v8::HeapStatistics::total_global_handles_size ( )
inline

◆ total_heap_size()

size_t v8::HeapStatistics::total_heap_size ( )
inline

◆ total_heap_size_executable()

size_t v8::HeapStatistics::total_heap_size_executable ( )
inline

◆ total_physical_size()

size_t v8::HeapStatistics::total_physical_size ( )
inline

◆ used_global_handles_size()

size_t v8::HeapStatistics::used_global_handles_size ( )
inline

◆ used_heap_size()

size_t v8::HeapStatistics::used_heap_size ( )
inline

Friends And Related Function Documentation

◆ Isolate

friend class Isolate
friend

◆ V8

friend class V8
friend

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