v8  4.4.63(io.js3.3.1)
V8 is Google's open source JavaScript engine
Isolate::CreateParams Struct Reference

#include <v8.h>

Collaboration diagram for Isolate::CreateParams:

Public Member Functions

 CreateParams ()
 

Data Fields

FunctionEntryHook entry_hook
 
JitCodeEventHandler code_event_handler
 
ResourceConstraints constraints
 
StartupDatasnapshot_blob
 
CounterLookupCallback counter_lookup_callback
 
CreateHistogramCallback create_histogram_callback
 
AddHistogramSampleCallback add_histogram_sample_callback
 
ArrayBuffer::Allocatorarray_buffer_allocator
 

Detailed Description

Initial configuration parameters for a new Isolate.

Definition at line 4951 of file v8.h.

Constructor & Destructor Documentation

Field Documentation

AddHistogramSampleCallback add_histogram_sample_callback

Definition at line 5000 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.

Definition at line 5006 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 4974 of file v8.h.

Referenced by Isolate::CreateParams::CreateParams().

ResourceConstraints constraints

ResourceConstraints to use for the new Isolate.

Definition at line 4979 of file v8.h.

CounterLookupCallback counter_lookup_callback

Enables the host application to provide a mechanism for recording statistics counters.

Definition at line 4991 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 4999 of file v8.h.

Referenced by Isolate::CreateParams::CreateParams().

FunctionEntryHook 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. Furthermore, if an entry_hook is given, V8 will always run without a context snapshot.

Definition at line 4968 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 4984 of file v8.h.

Referenced by Isolate::CreateParams::CreateParams().


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