v8
8.1.307(node14.1.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
CreateParams () | |
|
inline |
Definition at line 8130 of file v8.h.
References Isolate::CreateParams::add_histogram_sample_callback, Isolate::CreateParams::allow_atomics_wait, Isolate::CreateParams::array_buffer_allocator, Isolate::CreateParams::array_buffer_allocator_shared, Isolate::CreateParams::code_event_handler, Isolate::CreateParams::counter_lookup_callback, Isolate::CreateParams::create_histogram_callback, Isolate::CreateParams::external_references, Isolate::CreateParams::only_terminate_in_safe_scope, and Isolate::CreateParams::snapshot_blob.
AddHistogramSampleCallback add_histogram_sample_callback |
Definition at line 8172 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
bool allow_atomics_wait |
Whether calling Atomics.wait (a function that may block) is allowed in this isolate. This can also be configured via SetAllowAtomicsWait.
Definition at line 8198 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
ArrayBuffer::Allocator* array_buffer_allocator |
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.
Definition at line 8183 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
std::shared_ptr<ArrayBuffer::Allocator> array_buffer_allocator_shared |
Definition at line 8184 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
JitCodeEventHandler code_event_handler |
Allows the host application to provide the address of a function that is notified each time code is added, moved or removed.
Definition at line 8146 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
ResourceConstraints constraints |
ResourceConstraints to use for the new Isolate.
CounterLookupCallback counter_lookup_callback |
Enables the host application to provide a mechanism for recording statistics counters.
Definition at line 8163 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
CreateHistogramCallback create_histogram_callback |
Enables the host application to provide a mechanism for recording histograms. The CreateHistogram function returns a histogram which will later be passed to the AddHistogramSample function.
Definition at line 8171 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
const intptr_t* external_references |
Specifies an optional nullptr-terminated array of raw addresses in the embedder that V8 can match against during serialization and use for deserialization. This array and its content must stay valid for the entire lifetime of the isolate.
Definition at line 8192 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
bool only_terminate_in_safe_scope |
Termination is postponed when there is no active SafeForTerminationScope.
Definition at line 8203 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().
StartupData* snapshot_blob |
Explicitly specify a startup snapshot blob. The embedder owns the blob.
Definition at line 8156 of file v8.h.
Referenced by Isolate::CreateParams::CreateParams().