v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <heap-profiler.h>
Public Member Functions | |
void | ObjectMoveEvent (Address from, Address to) |
void | DefineWrapperClass (uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) |
v8::RetainedObjectInfo * | ExecuteWrapperClassCallback (uint16_t class_id, Object **wrapper) |
INLINE (bool is_profiling()) | |
Static Public Member Functions | |
static void | SetUp () |
static void | TearDown () |
static size_t | GetMemorySizeUsedByProfiler () |
static HeapSnapshot * | TakeSnapshot (const char *name, int type, v8::ActivityControl *control) |
static HeapSnapshot * | TakeSnapshot (String *name, int type, v8::ActivityControl *control) |
static void | StartHeapObjectsTracking () |
static void | StopHeapObjectsTracking () |
static SnapshotObjectId | PushHeapObjectsStats (OutputStream *stream) |
static int | GetSnapshotsCount () |
static HeapSnapshot * | GetSnapshot (int index) |
static HeapSnapshot * | FindSnapshot (unsigned uid) |
static SnapshotObjectId | GetSnapshotObjectId (Handle< Object > obj) |
static void | DeleteAllSnapshots () |
Definition at line 47 of file heap-profiler.h.
void DefineWrapperClass | ( | uint16_t | class_id, |
v8::HeapProfiler::WrapperInfoCallback | callback | ||
) |
Definition at line 106 of file heap-profiler.cc.
References ASSERT, HeapProfiler::kPersistentHandleNoClassId, and v8::internal::NULL.
|
static |
Definition at line 209 of file heap-profiler.cc.
References ASSERT, and v8::internal::NULL.
Referenced by HeapSnapshot::Delete(), and HeapProfiler::DeleteAllSnapshots().
v8::RetainedObjectInfo * ExecuteWrapperClassCallback | ( | uint16_t | class_id, |
Object ** | wrapper | ||
) |
Definition at line 117 of file heap-profiler.cc.
References v8::internal::NULL, and Utils::ToLocal().
|
static |
Definition at line 193 of file heap-profiler.cc.
References ASSERT, HeapSnapshotsCollection::GetSnapshot(), and v8::internal::NULL.
Referenced by HeapProfiler::FindSnapshot().
|
static |
Definition at line 171 of file heap-profiler.cc.
References ASSERT, HeapSnapshotsCollection::GetUsedMemorySize(), and v8::internal::NULL.
Referenced by HeapProfiler::GetMemorySizeUsedByProfiler().
|
static |
Definition at line 186 of file heap-profiler.cc.
References ASSERT, v8::internal::NULL, and HeapSnapshotsCollection::snapshots().
Referenced by HeapProfiler::GetSnapshot().
|
static |
Definition at line 200 of file heap-profiler.cc.
References HeapObject::address(), ASSERT, HeapObject::cast(), HeapSnapshotsCollection::FindObjectId(), HeapProfiler::kUnknownObjectId, and v8::internal::NULL.
Referenced by HeapProfiler::GetSnapshotObjectId().
|
static |
Definition at line 179 of file heap-profiler.cc.
References ASSERT, v8::internal::NULL, and HeapSnapshotsCollection::snapshots().
Referenced by HeapSnapshot::Delete(), and HeapProfiler::GetSnapshotsCount().
|
inline |
Definition at line 77 of file heap-profiler.h.
References HeapSnapshotsCollection::is_tracking_objects().
Definition at line 216 of file heap-profiler.cc.
References HeapSnapshotsCollection::ObjectMoveEvent().
|
static |
Definition at line 100 of file heap-profiler.cc.
References ASSERT, and v8::internal::NULL.
Referenced by HeapProfiler::PushHeapObjectsStats().
|
static |
Definition at line 53 of file heap-profiler.cc.
References v8::internal::NULL.
|
static |
Definition at line 88 of file heap-profiler.cc.
References ASSERT, and v8::internal::NULL.
Referenced by HeapProfiler::StartHeapObjectsTracking().
|
static |
Definition at line 94 of file heap-profiler.cc.
References ASSERT, and v8::internal::NULL.
Referenced by HeapProfiler::StopHeapObjectsTracking().
|
static |
Definition at line 68 of file heap-profiler.cc.
References ASSERT, and v8::internal::NULL.
Referenced by HeapProfiler::TakeSnapshot().
|
static |
Definition at line 78 of file heap-profiler.cc.
References ASSERT, and v8::internal::NULL.
|
static |
Definition at line 61 of file heap-profiler.cc.
References v8::internal::NULL.