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);
143 return number_of_global_object_weak_handles_;
148 return number_of_global_handles_;
221 return &implicit_ref_groups_;
249 int number_of_weak_handles_;
254 int number_of_global_object_weak_handles_;
257 int number_of_global_handles_;
260 NodeBlock* first_block_;
263 NodeBlock* first_used_block_;
272 int post_gc_processing_count_;
285 #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)
#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)
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 trace on stack replacement optimize closures functions with arguments object optimize functions containing for in loops profiler considers IC stability primitive functions trigger their own optimization re try self optimization if it failed insert an interrupt check at function exit execution budget before interrupt is triggered call count before self optimization self_optimization count_based_interrupts weighted_back_edges trace_opt 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 enable use of ARMv7 instructions if enable use of MIPS FPU instructions if NULL
void MarkIndependent(Object **location)
static bool IsWeak(Object **location)
void RemoveObjectGroups()
void IterateNewSpaceWeakIndependentRoots(ObjectVisitor *v)
void MakeWeak(Object **location, void *parameter, WeakReferenceCallback callback)
bool(* WeakSlotCallback)(Object **pointer)
int NumberOfGlobalHandles()
v8::RetainedObjectInfo * info_