V8 Project
vTune Namespace Reference

Namespaces

 internal
 

Functions

void InitializeVtuneForV8 (v8::Isolate::CreateParams &params)
 

Function Documentation

◆ InitializeVtuneForV8()

void vTune::InitializeVtuneForV8 ( v8::Isolate::CreateParams params)

Definition at line 274 of file vtune-jit.cc.

274  {
275  v8::V8::SetFlagsFromString("--nocompact_code_space",
276  (int)strlen("--nocompact_code_space"));
278 }
static void SetFlagsFromString(const char *str, int length)
Sets V8 flags from a string.
Definition: api.cc:364
static void event_handler(const v8::JitCodeEvent *event)
Definition: vtune-jit.cc:180
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

References v8::Isolate::CreateParams::code_event_handler, vTune::internal::VTUNEJITInterface::event_handler(), and v8::V8::SetFlagsFromString().

Referenced by v8::Shell::Main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: