| java.lang.Object org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode
All known Subclasses: org.netbeans.lib.profiler.results.memory.PresoObjLivenessCCTNode,
PresoObjAllocCCTNode | public class PresoObjAllocCCTNode implements CCTNode(Code) | | 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 author: Misha Dmitriev |
Method Summary | |
protected static void | assignNamesToNodesFromSnapshot(MemoryResultsSnapshot snapshot, PresoObjAllocCCTNode rootNode, String classTypeName) | protected static void | assignNamesToNodesFromVM(ProfilerClient profilerClient, PresoObjAllocCCTNode rootNode, String classTypeName) | protected static void | checkMethodIdForNodeFromVM(RuntimeMemoryCCTNode rtNode) | public static PresoObjAllocCCTNode | createPresentationCCTFromSnapshot(MemoryResultsSnapshot snapshot, RuntimeMemoryCCTNode rootRuntimeNode, String classTypeName) | public static PresoObjAllocCCTNode | createPresentationCCTFromVM(ProfilerClient profilerClient, RuntimeMemoryCCTNode rootRuntimeNode, String classTypeName) | protected static PresoObjAllocCCTNode | generateMirrorNode(RuntimeMemoryCCTNode rtNode) | public CCTNode | getChild(int index) | public CCTNode[] | getChildren() | public int | getIndexOfChild(Object child) | public String[] | getMethodClassNameAndSig() | public int | getNChildren() | public static void | getNamesForMethodIdsFromVM(ProfilerClient profilerClient, RuntimeMemoryCCTNode[] allStackRoots) | public String | getNodeName() | public CCTNode | getParent() | protected boolean | setFullClassAndMethodInfo(JMethodIdTable methodIdTable) | public void | sortChildren(int sortBy, boolean sortOrder) | protected void | sortChildrenByAllocObjNumber(boolean sortOrder) | protected void | sortChildrenByAllocObjSize(boolean sortOrder) | protected void | sortChildrenByName(boolean sortOrder) | protected void | sortFloats(float[] values, boolean sortOrder) | protected void | sortInts(int[] values, boolean sortOrder) | protected void | sortLongs(long[] values, boolean sortOrder) | protected void | sortStrings(String[] values, boolean sortOrder) | public String | toString() |
SORT_BY_ALLOC_OBJ_NUMBER | final public static int SORT_BY_ALLOC_OBJ_NUMBER(Code) | | |
SORT_BY_ALLOC_OBJ_SIZE | final public static int SORT_BY_ALLOC_OBJ_SIZE(Code) | | |
SORT_BY_NAME | final public static int SORT_BY_NAME(Code) | | |
nCalls | public long nCalls(Code) | | |
totalObjSize | public long totalObjSize(Code) | | |
getIndexOfChild | public int getIndexOfChild(Object child)(Code) | | |
getMethodClassNameAndSig | public String[] getMethodClassNameAndSig()(Code) | | |
getNChildren | public int getNChildren()(Code) | | |
setFullClassAndMethodInfo | protected boolean setFullClassAndMethodInfo(JMethodIdTable methodIdTable)(Code) | | |
sortChildren | public void sortChildren(int sortBy, boolean sortOrder)(Code) | | |
sortChildrenByAllocObjNumber | protected void sortChildrenByAllocObjNumber(boolean sortOrder)(Code) | | |
sortChildrenByAllocObjSize | protected void sortChildrenByAllocObjSize(boolean sortOrder)(Code) | | |
sortChildrenByName | protected void sortChildrenByName(boolean sortOrder)(Code) | | |
sortFloats | protected void sortFloats(float[] values, boolean sortOrder)(Code) | | |
sortInts | protected void sortInts(int[] values, boolean sortOrder)(Code) | | |
sortLongs | protected void sortLongs(long[] values, boolean sortOrder)(Code) | | |
sortStrings | protected void sortStrings(String[] values, boolean sortOrder)(Code) | | |
|
|