V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::HeapProfiler Class Reference
Inheritance diagram for v8::internal::HeapProfiler:
v8::internal::HeapObjectAllocationTracker

Public Member Functions

 HeapProfiler (Heap *heap)
 
HeapSnapshotTakeSnapshot (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 ()
 
AllocationProfileGetAllocationProfile ()
 
void StartHeapObjectsTracking (bool track_allocations)
 
void StopHeapObjectsTracking ()
 
AllocationTrackerallocation_tracker () const
 
HeapObjectsMapheap_object_map () const
 
StringsStoragenames () const
 
SnapshotObjectId PushHeapObjectsStats (OutputStream *stream, int64_t *timestamp_us)
 
int GetSnapshotsCount ()
 
HeapSnapshotGetSnapshot (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::RetainedObjectInfoExecuteWrapperClassCallback (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< HeapObjectFindHeapObjectById (SnapshotObjectId id)
 
void ClearHeapObjectMap ()
 
Isolateisolate () 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)
 

Detailed Description

Definition at line 27 of file heap-profiler.h.


The documentation for this class was generated from the following files: