#include <v8.h>
Initial configuration parameters for a new Isolate.
- Examples
- process.cc, and shell.cc.
◆ CreateParams()
v8::Isolate::CreateParams::CreateParams |
( |
| ) |
|
|
inline |
◆ add_histogram_sample_callback
◆ allow_atomics_wait
bool v8::Isolate::CreateParams::allow_atomics_wait |
Whether calling Atomics.wait (a function that may block) is allowed in this isolate. This can also be configured via SetAllowAtomicsWait.
◆ array_buffer_allocator
◆ 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.
◆ constraints
◆ counter_lookup_callback
Enables the host application to provide a mechanism for recording statistics counters.
◆ 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.
◆ entry_hook
The optional entry_hook allows the host application to provide the address of a function that's invoked on entry to every V8-generated function. Note that entry_hook is invoked at the very start of each generated function. An entry_hook can only be provided in no-snapshot builds; in snapshot builds it must be nullptr.
◆ external_references
const intptr_t* v8::Isolate::CreateParams::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.
◆ snapshot_blob
Explicitly specify a startup snapshot blob. The embedder owns the blob.
The documentation for this struct was generated from the following file: