webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
JSC::HeapSnapshotBuilder Class Reference

#include <HeapSnapshotBuilder.h>

Public Member Functions

 HeapSnapshotBuilder (HeapProfiler &)
 
 ~HeapSnapshotBuilder ()
 
void buildSnapshot ()
 
void appendNode (JSCell *)
 
void appendEdge (JSCell *from, JSCell *to)
 
void appendPropertyNameEdge (JSCell *from, JSCell *to, UniquedStringImpl *propertyName)
 
void appendVariableNameEdge (JSCell *from, JSCell *to, UniquedStringImpl *variableName)
 
void appendIndexEdge (JSCell *from, JSCell *to, uint32_t index)
 
String json ()
 
String json (std::function< bool(const HeapSnapshotNode &)> allowNodeCallback)
 
 HeapSnapshotBuilder (HeapProfiler &)
 
 ~HeapSnapshotBuilder ()
 
void buildSnapshot ()
 
void appendNode (JSCell *)
 
void appendEdge (JSCell *from, JSCell *to)
 
void appendPropertyNameEdge (JSCell *from, JSCell *to, UniquedStringImpl *propertyName)
 
void appendVariableNameEdge (JSCell *from, JSCell *to, UniquedStringImpl *variableName)
 
void appendIndexEdge (JSCell *from, JSCell *to, uint32_t index)
 
String json ()
 
String json (std::function< bool(const HeapSnapshotNode &)> allowNodeCallback)
 

Static Public Member Functions

static unsigned getNextObjectIdentifier ()
 
static void resetNextAvailableObjectIdentifier ()
 
static unsigned getNextObjectIdentifier ()
 
static void resetNextAvailableObjectIdentifier ()
 

Static Public Attributes

static unsigned nextAvailableObjectIdentifier = 1
 

Constructor & Destructor Documentation

◆ HeapSnapshotBuilder() [1/2]

JSC::HeapSnapshotBuilder::HeapSnapshotBuilder ( HeapProfiler profiler)

◆ ~HeapSnapshotBuilder() [1/2]

JSC::HeapSnapshotBuilder::~HeapSnapshotBuilder ( )

◆ HeapSnapshotBuilder() [2/2]

JSC::HeapSnapshotBuilder::HeapSnapshotBuilder ( HeapProfiler )

◆ ~HeapSnapshotBuilder() [2/2]

JSC::HeapSnapshotBuilder::~HeapSnapshotBuilder ( )

Member Function Documentation

◆ appendEdge() [1/2]

void JSC::HeapSnapshotBuilder::appendEdge ( JSCell from,
JSCell to 
)

◆ appendEdge() [2/2]

void JSC::HeapSnapshotBuilder::appendEdge ( JSCell from,
JSCell to 
)

◆ appendIndexEdge() [1/2]

void JSC::HeapSnapshotBuilder::appendIndexEdge ( JSCell from,
JSCell to,
uint32_t  index 
)

◆ appendIndexEdge() [2/2]

void JSC::HeapSnapshotBuilder::appendIndexEdge ( JSCell from,
JSCell to,
uint32_t  index 
)

◆ appendNode() [1/2]

void JSC::HeapSnapshotBuilder::appendNode ( JSCell cell)

◆ appendNode() [2/2]

void JSC::HeapSnapshotBuilder::appendNode ( JSCell )

◆ appendPropertyNameEdge() [1/2]

void JSC::HeapSnapshotBuilder::appendPropertyNameEdge ( JSCell from,
JSCell to,
UniquedStringImpl *  propertyName 
)

◆ appendPropertyNameEdge() [2/2]

void JSC::HeapSnapshotBuilder::appendPropertyNameEdge ( JSCell from,
JSCell to,
UniquedStringImpl *  propertyName 
)

◆ appendVariableNameEdge() [1/2]

void JSC::HeapSnapshotBuilder::appendVariableNameEdge ( JSCell from,
JSCell to,
UniquedStringImpl *  variableName 
)

◆ appendVariableNameEdge() [2/2]

void JSC::HeapSnapshotBuilder::appendVariableNameEdge ( JSCell from,
JSCell to,
UniquedStringImpl *  variableName 
)

◆ buildSnapshot() [1/2]

void JSC::HeapSnapshotBuilder::buildSnapshot ( )

◆ buildSnapshot() [2/2]

void JSC::HeapSnapshotBuilder::buildSnapshot ( )

◆ getNextObjectIdentifier() [1/2]

static unsigned JSC::HeapSnapshotBuilder::getNextObjectIdentifier ( )
static

◆ getNextObjectIdentifier() [2/2]

unsigned JSC::HeapSnapshotBuilder::getNextObjectIdentifier ( )
static

◆ json() [1/4]

String JSC::HeapSnapshotBuilder::json ( )

◆ json() [2/4]

String JSC::HeapSnapshotBuilder::json ( )

◆ json() [3/4]

String JSC::HeapSnapshotBuilder::json ( std::function< bool(const HeapSnapshotNode &)>  allowNodeCallback)

◆ json() [4/4]

String JSC::HeapSnapshotBuilder::json ( std::function< bool(const HeapSnapshotNode &)>  allowNodeCallback)

◆ resetNextAvailableObjectIdentifier() [1/2]

static void JSC::HeapSnapshotBuilder::resetNextAvailableObjectIdentifier ( )
static

◆ resetNextAvailableObjectIdentifier() [2/2]

void JSC::HeapSnapshotBuilder::resetNextAvailableObjectIdentifier ( )
static

Member Data Documentation

◆ nextAvailableObjectIdentifier

static unsigned JSC::HeapSnapshotBuilder::nextAvailableObjectIdentifier = 1
static

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