Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::results::memory::PresoObjAllocCCTNode Class Reference

Inheritance diagram for org::netbeans::lib::profiler::results::memory::PresoObjAllocCCTNode:

org::netbeans::lib::profiler::results::CCTNode org::netbeans::lib::profiler::results::memory::PresoObjLivenessCCTNode

List of all members.


Detailed Description

Presentation-Time Memory Profiling Calling Context Tree (CCT) Node. Used "as is" for Object Allocation profiling, and used as a base class for PresoObjLivenessCCTNode. Contains additional functionality to map jmethodIDs (integer identifiers automatically assigned to methods by the JVM, that are returned by stack trace routines) to method names. This includes sending a request to the server to get method names/signatures for given jmethodIDs.

Author:
Tomas Hurka

Misha Dmitriev

Definition at line 61 of file PresoObjAllocCCTNode.java.


Public Member Functions

CCTNode getChild (int index)
CCTNode[] getChildren ()
int getIndexOfChild (Object child)
String[] getMethodClassNameAndSig ()
int getNChildren ()
String getNodeName ()
CCTNode getParent ()
void sortChildren (int sortBy, boolean sortOrder)
String toString ()

Static Public Member Functions

static PresoObjAllocCCTNode createPresentationCCTFromSnapshot (MemoryResultsSnapshot snapshot, RuntimeMemoryCCTNode rootRuntimeNode, String classTypeName)
static PresoObjAllocCCTNode createPresentationCCTFromVM (ProfilerClient profilerClient, RuntimeMemoryCCTNode rootRuntimeNode, String classTypeName) throws ClientUtils.TargetAppOrVMTerminated
static void getNamesForMethodIdsFromVM (ProfilerClient profilerClient, RuntimeMemoryCCTNode[] allStackRoots) throws ClientUtils.TargetAppOrVMTerminated

Public Attributes

long nCalls
long totalObjSize

Static Public Attributes

static final int SORT_BY_ALLOC_OBJ_NUMBER = 3
static final int SORT_BY_ALLOC_OBJ_SIZE = 2
static final int SORT_BY_NAME = 1

Protected Member Functions

 PresoObjAllocCCTNode (RuntimeMemoryCCTNode rtNode)
boolean setFullClassAndMethodInfo (JMethodIdTable methodIdTable)
void sortChildrenByAllocObjNumber (boolean sortOrder)
void sortChildrenByAllocObjSize (boolean sortOrder)
void sortChildrenByName (boolean sortOrder)
void sortFloats (float[] values, boolean sortOrder)
void sortInts (int[] values, boolean sortOrder)
void sortLongs (long[] values, boolean sortOrder)
void sortStrings (String[] values, boolean sortOrder)

Static Protected Member Functions

static void assignNamesToNodesFromSnapshot (MemoryResultsSnapshot snapshot, PresoObjAllocCCTNode rootNode, String classTypeName)
static void assignNamesToNodesFromVM (ProfilerClient profilerClient, PresoObjAllocCCTNode rootNode, String classTypeName) throws ClientUtils.TargetAppOrVMTerminated
static void checkMethodIdForNodeFromVM (RuntimeMemoryCCTNode rtNode)
static PresoObjAllocCCTNode generateMirrorNode (RuntimeMemoryCCTNode rtNode)

Package Attributes

PresoObjAllocCCTNode[] children
String className
int methodId
String methodName
String methodSig
String nodeName
PresoObjAllocCCTNode parent

Static Private Attributes

static final String VM_ALLOC_CLASS = "org.netbeans.lib.profiler.server.ProfilerRuntimeMemory"
static final String VM_ALLOC_METHOD = "traceVMObjectAlloc"
static final String VM_ALLOC_TEXT

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

Generated by  Doxygen 1.6.0   Back to index