![]() |
v8
9.4.146 (node 16.15.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>

Public Member Functions | |
| CreateParams () | |
| ~CreateParams () | |
Data Fields | |
| JitCodeEventHandler | code_event_handler = nullptr |
| ResourceConstraints | constraints |
| StartupData * | snapshot_blob = nullptr |
| CounterLookupCallback | counter_lookup_callback = nullptr |
| CreateHistogramCallback | create_histogram_callback = nullptr |
| AddHistogramSampleCallback | add_histogram_sample_callback = nullptr |
| ArrayBuffer::Allocator * | array_buffer_allocator = nullptr |
| std::shared_ptr< ArrayBuffer::Allocator > | array_buffer_allocator_shared |
| const intptr_t * | external_references = nullptr |
| bool | allow_atomics_wait = true |
| bool | only_terminate_in_safe_scope = false |
| int | embedder_wrapper_type_index = -1 |
| int | embedder_wrapper_object_index = -1 |
| CreateParams | ( | ) |
| ~CreateParams | ( | ) |
| AddHistogramSampleCallback add_histogram_sample_callback = nullptr |
| bool allow_atomics_wait = true |
| ArrayBuffer::Allocator* array_buffer_allocator = nullptr |
The ArrayBuffer::Allocator to use for allocating and freeing the backing store of ArrayBuffers.
If the shared_ptr version is used, the Isolate instance and every |BackingStore| allocated using this allocator hold a std::shared_ptr to the allocator, in order to facilitate lifetime management for the allocator instance.
| std::shared_ptr<ArrayBuffer::Allocator> array_buffer_allocator_shared |
| JitCodeEventHandler code_event_handler = nullptr |
| ResourceConstraints constraints |
ResourceConstraints to use for the new Isolate.
| CounterLookupCallback counter_lookup_callback = nullptr |
| CreateHistogramCallback create_histogram_callback = nullptr |
| int embedder_wrapper_type_index = -1 |
The following parameters describe the offsets for addressing type info for wrapped API objects and are used by the fast C API (for details see v8-fast-api-calls.h).
| const intptr_t* external_references = nullptr |
| bool only_terminate_in_safe_scope = false |
Termination is postponed when there is no active SafeForTerminationScope.
| StartupData* snapshot_blob = nullptr |