v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::Heap::ResourceConstraints Struct Reference

#include <heap.h>

Collaboration diagram for cppgc::Heap::ResourceConstraints:

Public Attributes

size_t initial_heap_size_bytes = 0
 

Detailed Description

Constraints for a Heap setup.

Definition at line 100 of file heap.h.

Member Data Documentation

◆ initial_heap_size_bytes

size_t cppgc::Heap::ResourceConstraints::initial_heap_size_bytes = 0

Allows the heap to grow to some initial size in bytes before triggering garbage collections. This is useful when it is known that applications need a certain minimum heap to run to avoid repeatedly invoking the garbage collector when growing the heap.

Definition at line 107 of file heap.h.


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