V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::HeapObjectsMap Class Reference

Classes

struct  TimeInterval
 

Public Member Functions

 HeapObjectsMap (Heap *heap)
 
Heapheap () const
 
SnapshotObjectId FindEntry (Address addr)
 
SnapshotObjectId FindOrAddEntry (Address addr, unsigned int size, bool accessed=true)
 
bool MoveObject (Address from, Address to, int size)
 
void UpdateObjectSize (Address addr, int size)
 
SnapshotObjectId last_assigned_id () const
 
void StopHeapObjectsTracking ()
 
SnapshotObjectId PushHeapObjectsStats (OutputStream *stream, int64_t *timestamp_us)
 
const std::vector< TimeInterval > & samples () const
 
SnapshotObjectId GenerateId (v8::RetainedObjectInfo *info)
 
void UpdateHeapObjectsMap ()
 
void RemoveDeadEntries ()
 

Static Public Attributes

static const int kObjectIdStep = 2
 
static const SnapshotObjectId kInternalRootObjectId = 1
 
static const SnapshotObjectId kGcRootsObjectId
 
static const SnapshotObjectId kGcRootsFirstSubrootId
 
static const SnapshotObjectId kFirstAvailableObjectId
 

Detailed Description

Definition at line 232 of file heap-snapshot-generator.h.

Member Data Documentation

◆ kFirstAvailableObjectId

const SnapshotObjectId v8::internal::HeapObjectsMap::kFirstAvailableObjectId
static
Initial value:
=
HeapObjectsMap::kGcRootsFirstSubrootId +
static_cast<int>(Root::kNumberOfRoots) * HeapObjectsMap::kObjectIdStep

Definition at line 269 of file heap-snapshot-generator.h.

◆ kGcRootsFirstSubrootId

const SnapshotObjectId v8::internal::HeapObjectsMap::kGcRootsFirstSubrootId
static
Initial value:
=
HeapObjectsMap::kGcRootsObjectId + HeapObjectsMap::kObjectIdStep

Definition at line 268 of file heap-snapshot-generator.h.

◆ kGcRootsObjectId

const SnapshotObjectId v8::internal::HeapObjectsMap::kGcRootsObjectId
static
Initial value:
=
HeapObjectsMap::kInternalRootObjectId + HeapObjectsMap::kObjectIdStep

Definition at line 267 of file heap-snapshot-generator.h.


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