v8
8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
|
#include <heap.h>
Static Public Member Functions | |
static HeapOptions | Default () |
Data Fields | |
std::vector< std::unique_ptr< CustomSpaceBase > > | custom_spaces |
StackSupport | stack_support = StackSupport::kSupportsConservativeStackScan |
ResourceConstraints | resource_constraints |
Options specifying Heap properties (e.g. custom spaces) when initializing a heap through Heap::Create().
|
inlinestatic |
Creates reasonable defaults for instantiating a Heap.
std::vector<std::unique_ptr<CustomSpaceBase> > custom_spaces |
ResourceConstraints resource_constraints |
StackSupport stack_support = StackSupport::kSupportsConservativeStackScan |
Specifies whether conserative stack scan is supported. When conservative stack scan is not supported, the collector may try to invoke garbage collections using non-nestable task, which are guaranteed to have no interesting stack, through the provided Platform. If such tasks are not supported by the Platform, the embedder must take care of invoking the GC through ForceGarbageCollectionSlow().