V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Public Member Functions | |
HeapProfiler (Heap *heap) | |
HeapSnapshot * | TakeSnapshot (v8::ActivityControl *control, v8::HeapProfiler::ObjectNameResolver *resolver) |
bool | StartSamplingHeapProfiler (uint64_t sample_interval, int stack_depth, v8::HeapProfiler::SamplingFlags) |
void | StopSamplingHeapProfiler () |
bool | is_sampling_allocations () |
AllocationProfile * | GetAllocationProfile () |
void | StartHeapObjectsTracking (bool track_allocations) |
void | StopHeapObjectsTracking () |
AllocationTracker * | allocation_tracker () const |
HeapObjectsMap * | heap_object_map () const |
StringsStorage * | names () const |
SnapshotObjectId | PushHeapObjectsStats (OutputStream *stream, int64_t *timestamp_us) |
int | GetSnapshotsCount () |
HeapSnapshot * | GetSnapshot (int index) |
SnapshotObjectId | GetSnapshotObjectId (Handle< Object > obj) |
void | DeleteAllSnapshots () |
void | RemoveSnapshot (HeapSnapshot *snapshot) |
void | ObjectMoveEvent (Address from, Address to, int size) |
void | AllocationEvent (Address addr, int size) override |
void | UpdateObjectSizeEvent (Address addr, int size) override |
void | DefineWrapperClass (uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) |
v8::RetainedObjectInfo * | ExecuteWrapperClassCallback (uint16_t class_id, Object **wrapper) |
void | SetGetRetainerInfosCallback (v8::HeapProfiler::GetRetainerInfosCallback callback) |
v8::HeapProfiler::RetainerInfos | GetRetainerInfos (Isolate *isolate) |
void | AddBuildEmbedderGraphCallback (v8::HeapProfiler::BuildEmbedderGraphCallback callback, void *data) |
void | RemoveBuildEmbedderGraphCallback (v8::HeapProfiler::BuildEmbedderGraphCallback callback, void *data) |
void | BuildEmbedderGraph (Isolate *isolate, v8::EmbedderGraph *graph) |
bool | HasBuildEmbedderGraphCallback () |
bool | is_tracking_object_moves () const |
Handle< HeapObject > | FindHeapObjectById (SnapshotObjectId id) |
void | ClearHeapObjectMap () |
Isolate * | isolate () const |
void | QueryObjects (Handle< Context > context, debug::QueryObjectPredicate *predicate, v8::PersistentValueVector< v8::Object > *objects) |
Public Member Functions inherited from v8::internal::HeapObjectAllocationTracker | |
virtual void | MoveEvent (Address from, Address to, int size) |
Definition at line 27 of file heap-profiler.h.