v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HeapObjectsMap Class Reference

#include <profile-generator.h>

Public Member Functions

 HeapObjectsMap ()
 
void SnapshotGenerationFinished ()
 
SnapshotObjectId FindEntry (Address addr)
 
SnapshotObjectId FindOrAddEntry (Address addr, unsigned int size)
 
void MoveObject (Address from, Address to)
 
SnapshotObjectId last_assigned_id () const
 
void StopHeapObjectsTracking ()
 
SnapshotObjectId PushHeapObjectsStats (OutputStream *stream)
 
size_t GetUsedMemorySize () const
 

Static Public Member Functions

static SnapshotObjectId GenerateId (v8::RetainedObjectInfo *info)
 
static SnapshotObjectId GetNthGcSubrootId (int delta)
 

Static Public Attributes

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

Detailed Description

Definition at line 640 of file profile-generator.h.

Constructor & Destructor Documentation

Definition at line 1286 of file profile-generator.cc.

References List< T, P >::Add(), and v8::internal::NULL.

Member Function Documentation

SnapshotObjectId GetNthGcSubrootId ( int  delta)
inlinestatic
size_t GetUsedMemorySize ( ) const
SnapshotObjectId last_assigned_id ( ) const
inline
void SnapshotGenerationFinished ( )
void StopHeapObjectsTracking ( )

Field Documentation

const SnapshotObjectId kGcRootsFirstSubrootId
static
const SnapshotObjectId kGcRootsObjectId
static
const SnapshotObjectId kInternalRootObjectId = 1
static

Definition at line 660 of file profile-generator.h.

Referenced by HeapSnapshot::AddRootEntry().

const SnapshotObjectId kNativesRootObjectId
static

Definition at line 662 of file profile-generator.h.

const int kObjectIdStep = 2
static

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