v8  6.2.414(node9.11.2)
V8 is Google's open source JavaScript engine
HeapStatistics Class Reference

#include <v8.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 used_heap_size ()
 
size_t heap_size_limit ()
 
size_t malloced_memory ()
 
size_t peak_malloced_memory ()
 
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.

Definition at line 6409 of file v8.h.

Constructor & Destructor Documentation

◆ HeapStatistics()

Member Function Documentation

◆ does_zap_garbage()

size_t does_zap_garbage ( )
inline

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

Definition at line 6425 of file v8.h.

◆ heap_size_limit()

size_t heap_size_limit ( )
inline

Definition at line 6417 of file v8.h.

◆ malloced_memory()

size_t malloced_memory ( )
inline

Definition at line 6418 of file v8.h.

◆ peak_malloced_memory()

size_t peak_malloced_memory ( )
inline

Definition at line 6419 of file v8.h.

◆ total_available_size()

size_t total_available_size ( )
inline

Definition at line 6415 of file v8.h.

◆ total_heap_size()

size_t total_heap_size ( )
inline

Definition at line 6412 of file v8.h.

◆ total_heap_size_executable()

size_t total_heap_size_executable ( )
inline

Definition at line 6413 of file v8.h.

◆ total_physical_size()

size_t total_physical_size ( )
inline

Definition at line 6414 of file v8.h.

◆ used_heap_size()

size_t used_heap_size ( )
inline

Definition at line 6416 of file v8.h.

Friends And Related Function Documentation

◆ Isolate

friend class Isolate
friend

Definition at line 6439 of file v8.h.

◆ V8

friend class V8
friend

Definition at line 6438 of file v8.h.


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