|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaHeap
Represents a single heap of managed objects.
The heap can be viewed as an unordered collection of JavaObjects or as a region of storage
within the Java Virtual Machine instance.
The heap commonly contains JavaObject instances that are reachable by navigating chains of JavaReference
These references can be obtained from the JavaRuntime.getHeapRoots()
method.
A heap can contain instances which cannot be reached by the use of JavaReference
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Get a brief textual description of this heap. |
java.util.List<JavaObject> |
getObjects()
Get the set of objects which are stored in this heap. |
java.util.List<ImageSection> |
getSections()
Get the set of memory regions that represent the memory layout of the heap. |
int |
hashCode()
|
Method Detail |
---|
java.util.List<ImageSection> getSections()
ImageSection
instancesImageSection
java.lang.String getName()
java.util.List<JavaObject> getObjects()
JavaObject
objects which are stored in this heap
The returned list follows the standard semantics for javax.tools.diagnostics collections.
The returned value is never null but can be an empty list.JavaObject
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |