V8 Project
vTune::internal Namespace Reference

Classes

class  JITCodeLineInfo
 
struct  SameCodeObjects
 
struct  HashForCodeObject
 
class  VTUNEJITInterface
 

Typedefs

typedef hash_map< void *, void *, HashForCodeObject, SameCodeObjectsJitInfoMap
 

Functions

static JitInfoMapGetEntries ()
 
static bool IsLineInfoTagged (void *ptr)
 
static JITCodeLineInfoUntagLineInfo (void *ptr)
 
static char * GetFunctionNameFromMixedName (const char *str, int length)
 

Typedef Documentation

◆ JitInfoMap

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

Function Documentation

◆ GetEntries()

static JitInfoMap* vTune::internal::GetEntries ( )
static

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

135  {
136  static JitInfoMap* entries;
137  if (entries == NULL) {
138  entries = new JitInfoMap();
139  }
140  return entries;
141 }
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
hash_map< void *, void *, HashForCodeObject, SameCodeObjects > JitInfoMap
Definition: vtune-jit.cc:132

References NULL.

Referenced by vTune::internal::VTUNEJITInterface::event_handler().

+ Here is the caller graph for this function:

◆ GetFunctionNameFromMixedName()

static char* vTune::internal::GetFunctionNameFromMixedName ( const char *  str,
int  length 
)
static

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

156  {
157  int index = 0;
158  int count = 0;
159  char* start_ptr = NULL;
160 
161  while (str[index++] != ':' && (index < length)) {}
162 
163  if (str[index] == '*' || str[index] == '~' ) index++;
164  if (index >= length) return NULL;
165 
166  start_ptr = const_cast<char*>(str + index);
167 
168  while (index < length && str[index++] != ' ') {
169  count++;
170  }
171 
172  char* result = new char[count + 1];
173  memcpy(result, start_ptr, count);
174  result[count] = '\0';
175 
176  return result;
177 }

References NULL.

Referenced by vTune::internal::VTUNEJITInterface::event_handler().

+ Here is the caller graph for this function:

◆ IsLineInfoTagged()

static bool vTune::internal::IsLineInfoTagged ( void *  ptr)
static

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

143  {
144  return 0 != (reinterpret_cast<intptr_t>(ptr));
145 }

Referenced by vTune::internal::VTUNEJITInterface::event_handler().

+ Here is the caller graph for this function:

◆ UntagLineInfo()

static JITCodeLineInfo* vTune::internal::UntagLineInfo ( void *  ptr)
static

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

147  {
148  return reinterpret_cast<JITCodeLineInfo*>(
149  reinterpret_cast<intptr_t>(ptr));
150 }

Referenced by vTune::internal::VTUNEJITInterface::event_handler().

+ Here is the caller graph for this function: