28 #ifndef V8_GLOBAL_HANDLES_H_
29 #define V8_GLOBAL_HANDLES_H_
31 #include "../include/v8-profiler.h"
71 void*
operator new(
size_t size);
72 void operator delete(
void* p);
104 void*
operator new(
size_t size);
105 void operator delete(
void* p);
144 return number_of_global_object_weak_handles_;
149 return number_of_global_handles_;
224 return &implicit_ref_groups_;
252 int number_of_weak_handles_;
257 int number_of_global_object_weak_handles_;
260 int number_of_global_handles_;
263 NodeBlock* first_block_;
266 NodeBlock* first_used_block_;
275 int post_gc_processing_count_;
288 #endif // V8_GLOBAL_HANDLES_H_
bool(* WeakSlotCallbackWithHeap)(Heap *heap, Object **pointer)
void RemoveImplicitRefGroups()
List< ImplicitRefGroup * > * implicit_ref_groups()
void Destroy(Object **location)
static ObjectGroup * New(Object ***handles, size_t length, v8::RetainedObjectInfo *info)
void IdentifyNewSpaceWeakIndependentHandles(WeakSlotCallbackWithHeap f)
int NumberOfGlobalObjectWeakHandles()
void AddImplicitReferences(HeapObject **parent, Object ***children, size_t length)
static bool IsNearDeath(Object **location)
void IterateWeakRoots(ObjectVisitor *v)
#define ASSERT(condition)
void ClearWeakness(Object **location)
v8::Handle< v8::Value > Print(const v8::Arguments &args)
void IterateStrongRoots(ObjectVisitor *v)
void AddObjectGroup(Object ***handles, size_t length, v8::RetainedObjectInfo *info)
void CopyWords(T *dst, T *src, int num_words)
bool PostGarbageCollectionProcessing(GarbageCollector collector)
#define OFFSET_OF(type, field)
int NumberOfWeakHandles()
Handle< Object > Create(Object *value)
static uint16_t GetWrapperClassId(Object **location)
static bool IsIndependent(Object **location)
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
void IterateAllRoots(ObjectVisitor *v)
static void SetWrapperClassId(Object **location, uint16_t class_id)
void(* WeakReferenceCallback)(Persistent< Value > object, void *parameter)
void IterateAllRootsWithClassIds(ObjectVisitor *v)
void IterateNewSpaceStrongAndDependentRoots(ObjectVisitor *v)
List< ObjectGroup * > * object_groups()
void IdentifyWeakHandles(WeakSlotCallback f)
void RecordStats(HeapStats *stats)
void(* WeakReferenceGuest)(Object *object, void *parameter)
static ImplicitRefGroup * New(HeapObject **parent, Object ***children, size_t length)
void MarkIndependent(Object **location)
static bool IsWeak(Object **location)
void RemoveObjectGroups()
void IterateNewSpaceWeakIndependentRoots(ObjectVisitor *v)
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination use dead code elimination trace on stack replacement optimize closures cache optimized code for closures functions with arguments object loop weight for representation inference allow uint32 values on optimize frames if they are used only in safe operations track parallel recompilation enable all profiler experiments number of stack frames inspected by the profiler call recompile stub directly when self optimizing trigger profiler ticks based on counting instead of timing weight back edges by jump distance for interrupt triggering percentage of ICs that must have type info to allow optimization watch_ic_patching retry_self_opt interrupt_at_exit extra verbose compilation tracing generate extra emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of SAHF instruction if enable use of VFP3 instructions if available this implies enabling ARMv7 and VFP2 enable use of VFP2 instructions if available enable use of SDIV and UDIV instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of MIPS FPU instructions if NULL
void MakeWeak(Object **location, void *parameter, WeakReferenceCallback callback)
bool(* WeakSlotCallback)(Object **pointer)
int NumberOfGlobalHandles()
v8::RetainedObjectInfo * info_