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
V8HeapExplorer Class Reference

#include <profile-generator.h>

Inheritance diagram for V8HeapExplorer:
Collaboration diagram for V8HeapExplorer:

Public Member Functions

 V8HeapExplorer (HeapSnapshot *snapshot, SnapshottingProgressReportingInterface *progress)
 
virtual ~V8HeapExplorer ()
 
virtual HeapEntry * AllocateEntry (HeapThing ptr)
 
void AddRootEntries (SnapshotFillerInterface *filler)
 
int EstimateObjectsCount (HeapIterator *iterator)
 
bool IterateAndExtractReferences (SnapshotFillerInterface *filler)
 
void TagGlobalObjects ()
 
- Public Member Functions inherited from HeapEntriesAllocator
virtual ~HeapEntriesAllocator ()
 

Static Public Member Functions

static StringGetConstructorName (JSObject *object)
 

Static Public Attributes

static HeapObject *const kInternalRootObject
 

Friends

class IndexedReferencesExtractor
 
class GcSubrootsEnumerator
 
class RootsReferencesExtractor
 

Detailed Description

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

Constructor & Destructor Documentation

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

~V8HeapExplorer ( )
virtual

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

Member Function Documentation

HeapEntry * AllocateEntry ( HeapThing  ptr)
virtual

Implements HeapEntriesAllocator.

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

int EstimateObjectsCount ( HeapIterator *  iterator)

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

References v8::internal::NULL.

String * GetConstructorName ( JSObject object)
static

Friends And Related Function Documentation

friend class GcSubrootsEnumerator
friend

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

friend class IndexedReferencesExtractor
friend

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

friend class RootsReferencesExtractor
friend

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

Field Documentation

HeapObject *const kInternalRootObject
static
Initial value:
=
reinterpret_cast<HeapObject*>(
static_cast<intptr_t>(HeapObjectsMap::kInternalRootObjectId))

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

Referenced by V8HeapExplorer::AddRootEntries().


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