V8 Project
v8::Isolate::CreateParams Struct Reference

Initial configuration parameters for a new Isolate. More...

#include <v8.h>

+ Collaboration diagram for v8::Isolate::CreateParams:

Public Member Functions

 CreateParams ()
 

Public Attributes

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. More...
 
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. More...
 
ResourceConstraints constraints
 ResourceConstraints to use for the new Isolate. More...
 
bool enable_serializer
 This flag currently renders the Isolate unusable. More...
 

Detailed Description

Initial configuration parameters for a new Isolate.

Definition at line 4361 of file v8.h.

Constructor & Destructor Documentation

◆ CreateParams()

v8::Isolate::CreateParams::CreateParams ( )
inline

Definition at line 4362 of file v8.h.

4363  : entry_hook(NULL),
4365  enable_serializer(false) {}
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
bool enable_serializer
This flag currently renders the Isolate unusable.
Definition: v8.h:4390
JitCodeEventHandler code_event_handler
Allows the host application to provide the address of a function that is notified each time code is a...
Definition: v8.h:4380
FunctionEntryHook entry_hook
The optional entry_hook allows the host application to provide the address of a function that's invok...
Definition: v8.h:4374

Member Data Documentation

◆ code_event_handler

JitCodeEventHandler v8::Isolate::CreateParams::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 4380 of file v8.h.

Referenced by vTune::InitializeVtuneForV8(), v8::Shell::Main(), and v8::Isolate::New().

◆ constraints

ResourceConstraints v8::Isolate::CreateParams::constraints

ResourceConstraints to use for the new Isolate.

Definition at line 4385 of file v8.h.

Referenced by v8::Shell::Main(), and v8::Isolate::New().

◆ enable_serializer

bool v8::Isolate::CreateParams::enable_serializer

This flag currently renders the Isolate unusable.

Definition at line 4390 of file v8.h.

Referenced by main(), and v8::Isolate::New().

◆ entry_hook

FunctionEntryHook v8::Isolate::CreateParams::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 4374 of file v8.h.

Referenced by v8::Isolate::New().


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