5 #ifndef V8_ALLOCATION_H_
6 #define V8_ALLOCATION_H_
22 void operator delete(
void* p) {
Delete(p); }
26 static void Delete(
void* p);
40 void*
operator new(
size_t size);
41 void operator delete(
void* p);
43 #define BASE_EMBEDDED : public Embedded
53 void*
operator new(
size_t size);
54 void operator delete(
void* p);
76 char*
StrDup(
const char* str);
77 char*
StrNDup(
const char* str,
int n);
INLINE(void *New(size_t size))
INLINE(static void Delete(void *p))
static void * New(size_t size)
static void FatalProcessOutOfMemory()
static void Delete(void *p)
enable harmony numeric enable harmony object literal extensions Optimize object size
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
void DeleteArray(T *array)
T * NewArray(size_t size)
void * AlignedAlloc(size_t size, size_t alignment)
void FatalProcessOutOfMemory(const char *message)
char * StrNDup(const char *str, int n)
void AlignedFree(void *ptr)
char * StrDup(const char *str)
Debugger support for the V8 JavaScript engine.
#define T(name, string, precedence)