#include <heap-profiler.h>
|
| | HeapProfiler (Heap *heap) |
| |
| | ~HeapProfiler () override |
| |
| | HeapProfiler (const HeapProfiler &)=delete |
| |
| HeapProfiler & | operator= (const HeapProfiler &)=delete |
| |
| HeapSnapshot * | TakeSnapshot (const v8::HeapProfiler::HeapSnapshotOptions options) |
| |
| void | WriteSnapshotToDiskAfterGC (HeapSnapshotMode snapshot_mode=HeapSnapshotMode::kRegular) |
| |
| void | TakeSnapshotToFile (const v8::HeapProfiler::HeapSnapshotOptions options, std::string filename) |
| |
| 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 () const |
| |
| bool | IsTakingSnapshot () const |
| |
| HeapSnapshot * | GetSnapshot (int index) |
| |
| SnapshotObjectId | GetSnapshotObjectId (DirectHandle< Object > obj) |
| |
| SnapshotObjectId | GetSnapshotObjectId (NativeObject obj) |
| |
| void | DeleteAllSnapshots () |
| |
| void | RemoveSnapshot (HeapSnapshot *snapshot) |
| |
| std::vector< v8::Local< v8::Value > > | GetDetachedJSWrapperObjects () |
| |
| void | ObjectMoveEvent (Address from, Address to, int size, bool is_native_object) |
| |
| void | AllocationEvent (Address addr, int size) override |
| |
| void | UpdateObjectSizeEvent (Address addr, int size) override |
| |
| 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 () |
| |
| void | SetGetDetachednessCallback (v8::HeapProfiler::GetDetachednessCallback callback, void *data) |
| |
| bool | HasGetDetachednessCallback () const |
| |
| v8::EmbedderGraph::Node::Detachedness | GetDetachedness (const v8::Local< v8::Value > v8_value, uint16_t class_id) |
| |
| const char * | CopyNameForHeapSnapshot (const char *name) |
| |
| bool | is_tracking_object_moves () const |
| |
| DirectHandle< HeapObject > | FindHeapObjectById (SnapshotObjectId id) |
| |
| void | ClearHeapObjectMap () |
| |
| Isolate * | isolate () const |
| |
| void | QueryObjects (DirectHandle< Context > context, QueryObjectPredicate *predicate, std::vector< v8::Global< v8::Object > > *objects) |
| |
| void | set_native_move_listener (std::unique_ptr< HeapProfilerNativeMoveListener > listener) |
| |
| virtual void | MoveEvent (Address from, Address to, int size) |
| |
| virtual | ~HeapObjectAllocationTracker ()=default |
| |
Definition at line 54 of file heap-profiler.h.
◆ HeapSnapshotMode
◆ HeapProfiler() [1/2]
| v8::internal::HeapProfiler::HeapProfiler |
( |
Heap * | heap | ) |
|
|
explicit |
◆ ~HeapProfiler()
| v8::internal::HeapProfiler::~HeapProfiler |
( |
| ) |
|
|
overridedefault |
◆ HeapProfiler() [2/2]
| v8::internal::HeapProfiler::HeapProfiler |
( |
const HeapProfiler & | | ) |
|
|
delete |
◆ AddBuildEmbedderGraphCallback()
◆ allocation_tracker()
◆ AllocationEvent()
| void v8::internal::HeapProfiler::AllocationEvent |
( |
Address | addr, |
|
|
int | size ) |
|
overridevirtual |
◆ BuildEmbedderGraph()
◆ ClearHeapObjectMap()
| void v8::internal::HeapProfiler::ClearHeapObjectMap |
( |
| ) |
|
◆ CopyNameForHeapSnapshot()
| const char * v8::internal::HeapProfiler::CopyNameForHeapSnapshot |
( |
const char * | name | ) |
|
◆ DeleteAllSnapshots()
| void v8::internal::HeapProfiler::DeleteAllSnapshots |
( |
| ) |
|
◆ FindHeapObjectById()
◆ GetAllocationProfile()
◆ GetDetachedJSWrapperObjects()
| std::vector< v8::Local< v8::Value > > v8::internal::HeapProfiler::GetDetachedJSWrapperObjects |
( |
| ) |
|
◆ GetDetachedness()
◆ GetSnapshot()
| HeapSnapshot * v8::internal::HeapProfiler::GetSnapshot |
( |
int | index | ) |
|
◆ GetSnapshotObjectId() [1/2]
◆ GetSnapshotObjectId() [2/2]
◆ GetSnapshotsCount()
| int v8::internal::HeapProfiler::GetSnapshotsCount |
( |
| ) |
const |
◆ HasBuildEmbedderGraphCallback()
| bool v8::internal::HeapProfiler::HasBuildEmbedderGraphCallback |
( |
| ) |
|
|
inline |
◆ HasGetDetachednessCallback()
| bool v8::internal::HeapProfiler::HasGetDetachednessCallback |
( |
| ) |
const |
|
inline |
◆ heap()
| Heap * v8::internal::HeapProfiler::heap |
( |
| ) |
const |
|
private |
◆ heap_object_map()
| HeapObjectsMap * v8::internal::HeapProfiler::heap_object_map |
( |
| ) |
const |
|
inline |
◆ is_sampling_allocations()
| bool v8::internal::HeapProfiler::is_sampling_allocations |
( |
| ) |
|
|
inline |
◆ is_tracking_object_moves()
| bool v8::internal::HeapProfiler::is_tracking_object_moves |
( |
| ) |
const |
|
inline |
◆ isolate()
| Isolate * v8::internal::HeapProfiler::isolate |
( |
| ) |
const |
◆ IsTakingSnapshot()
| bool v8::internal::HeapProfiler::IsTakingSnapshot |
( |
| ) |
const |
◆ MaybeClearStringsStorage()
| void v8::internal::HeapProfiler::MaybeClearStringsStorage |
( |
| ) |
|
|
private |
◆ names()
◆ ObjectMoveEvent()
| void v8::internal::HeapProfiler::ObjectMoveEvent |
( |
Address | from, |
|
|
Address | to, |
|
|
int | size, |
|
|
bool | is_native_object ) |
◆ operator=()
◆ PushHeapObjectsStats()
◆ QueryObjects()
◆ RemoveBuildEmbedderGraphCallback()
◆ RemoveSnapshot()
| void v8::internal::HeapProfiler::RemoveSnapshot |
( |
HeapSnapshot * | snapshot | ) |
|
◆ set_native_move_listener()
◆ SetGetDetachednessCallback()
◆ StartHeapObjectsTracking()
| void v8::internal::HeapProfiler::StartHeapObjectsTracking |
( |
bool | track_allocations | ) |
|
◆ StartSamplingHeapProfiler()
◆ StopHeapObjectsTracking()
| void v8::internal::HeapProfiler::StopHeapObjectsTracking |
( |
| ) |
|
◆ StopSamplingHeapProfiler()
| void v8::internal::HeapProfiler::StopSamplingHeapProfiler |
( |
| ) |
|
◆ TakeSnapshot()
◆ TakeSnapshotToFile()
◆ UpdateObjectSizeEvent()
| void v8::internal::HeapProfiler::UpdateObjectSizeEvent |
( |
Address | addr, |
|
|
int | size ) |
|
overridevirtual |
◆ WriteSnapshotToDiskAfterGC()
| void v8::internal::HeapProfiler::WriteSnapshotToDiskAfterGC |
( |
HeapSnapshotMode | snapshot_mode = HeapSnapshotMode::kRegular | ) |
|
◆ allocation_tracker_
◆ build_embedder_graph_callbacks_
◆ get_detachedness_callback_
◆ ids_
◆ is_taking_snapshot_
| bool v8::internal::HeapProfiler::is_taking_snapshot_ |
|
private |
◆ is_tracking_object_moves_
| bool v8::internal::HeapProfiler::is_tracking_object_moves_ |
|
private |
◆ names_
◆ native_move_listener_
◆ profiler_mutex_
| base::Mutex v8::internal::HeapProfiler::profiler_mutex_ |
|
private |
◆ sampling_heap_profiler_
◆ snapshots_
| std::vector<std::unique_ptr<HeapSnapshot> > v8::internal::HeapProfiler::snapshots_ |
|
private |
The documentation for this class was generated from the following files: