| java.lang.Object org.netbeans.lib.profiler.results.memory.RuntimeMemoryCCTNode
All known Subclasses: org.netbeans.lib.profiler.results.memory.RuntimeObjAllocTermCCTNode,
RuntimeMemoryCCTNode | public class RuntimeMemoryCCTNode implements Cloneable,RuntimeCCTNode(Code) | | A node of the run time Memory Profiling Calling Context Tree (CCT). Unlike the presentation-time CCT, this one
contains information in the form that is quickly updateable at run time, but needs further processing for
proper presentation. Instances of class RuntimeMemoryCCTNode are used only as non-terminal nodes, and contain
minimum information to save space. The information such as the total number of calls, size of allocated objects,
etc., which can be calculated for intermediate nodes if known for terminal nodes, is contained, in runtime CCT,
only in specialized terminal nodes (instances of classes RuntimeObjAllocTermCCTNode and
RuntimeObjLivenessTermCCTNode).
author: Misha Dmitriev author: Ian Formanek |
TYPE_RuntimeMemoryCCTNode | final protected static int TYPE_RuntimeMemoryCCTNode(Code) | | |
TYPE_RuntimeObjAllocTermCCTNode | final protected static int TYPE_RuntimeObjAllocTermCCTNode(Code) | | |
TYPE_RuntimeObjLivenessTermCCTNode | final protected static int TYPE_RuntimeObjLivenessTermCCTNode(Code) | | |
children | Object children(Code) | | Children nodes in the forward stack trace tree. This fiels can have three different values depending on the
number of children:
null if there are no children
instance of RuntimeMemoryCCTNode if there is exactly one child
instance of RuntimeMemoryCCTNode[] if there are multiple children
This is purely a memory consumption optimization, which typically saves about 80% of memory, since most allocation
stack traces are a sequence of single-child nodes, and in such case we remove the need to create a one-item array
|
methodId | int methodId(Code) | | unique Id of method - jMethodId from JVM (see MemoryCallGraphBuilder.getNamesForJMethodIds)
|
RuntimeMemoryCCTNode | protected RuntimeMemoryCCTNode()(Code) | | For I/O only
|
RuntimeMemoryCCTNode | RuntimeMemoryCCTNode(int methodId)(Code) | | |
addAllJMethodIds | public void addAllJMethodIds(Set set)(Code) | | |
getType | public int getType()(Code) | | |
|
|