| org.netbeans.lib.profiler.heap.Heap
All known Subclasses: org.netbeans.lib.profiler.heap.HprofHeap,
Heap | public interface Heap (Code) | | This is top-level interface representing one instance of heap dump.
author: Tomas Hurka |
getAllClasses | List getAllClasses()(Code) | | computes List of all
JavaClass instances in this heap.
The classes are ordered according to the position in the dump file.
Speed: slow for the first time, subsequent invocations are fast.
list of all JavaClass in the heap. |
getGCRoot | GCRoot getGCRoot(Instance instance)(Code) | | returns
GCRoot for
Instance .
Speed: normal for first invocation, fast for subsequent
Parameters: instance - Instance whose associated GCRoot is to be returned. GCRoot for corresponding instance or null if instance is not GC root. |
getGCRoots | Collection getGCRoots()(Code) | | returns list of all GC roots.
Speed: normal for first invocation, fast for subsequent
list of GCRoot instances representing all GC roots. |
getInstanceByID | Instance getInstanceByID(long instanceId)(Code) | | computes
Instance for instanceId.
Speed: fast
Parameters: instanceId - unique ID of Instance return null if there no Instance with instanceId, otherwisecorresponding Instance is returned so thatheap.getInstanceByID(instanceId).getInstanceId() == instanceId |
getJavaClassByID | JavaClass getJavaClassByID(long javaclassId)(Code) | | computes
JavaClass for javaclassId.
Speed: fast
Parameters: javaclassId - unique ID of JavaClass return null if there no java class with javaclassId, otherwise corresponding JavaClassis returned so that heap.getJavaClassByID(javaclassId).getJavaClassId() == javaclassId |
getJavaClassByName | JavaClass getJavaClassByName(String fqn)(Code) | | computes
JavaClass for fully qualified name.
Speed: slow
Parameters: fqn - fully qualified name of the java class. return null if there no class with fqn name, otherwise corresponding JavaClassis returned so that heap.getJavaClassByName(fqn).getName().equals(fqn) |
getSummary | HeapSummary getSummary()(Code) | | returns optional summary information of the heap.
If this information is not available in the dump,
some data (like number of instances) are computed
from the dump itself.
Speed: fast if the summary is available in dump, slow if
summary needs to be computed from dump.
HeapSummary of the heap |
getSystemProperties | Properties getSystemProperties()(Code) | | Determines the system properties of the
Heap . It returns
Properties with the same
content as if
System.getProperties was invoked in JVM, where this heap dump was taken.
Speed: slow
the system properties or null if the system properties cannot be computed fromthis Heap |
|
|