com.ibm.dtfj.java
Interface JavaHeap
public interface JavaHeap
Represents a heap of managed objects. There may be multiple heaps
within a JVM, for instance a generational heap and a class heap.
Additionally, heaps may consist of non-contiguous memory regions.
For instance, an object heap may be divided into a hot and cold
section.
getSections
java.util.Iterator getSections()
- Returns:
- an iterator over the collection of contiguous memory regions
which form this heap
- See Also:
ImageSection
,
CorruptData
getName
java.lang.String getName()
- Returns:
- a brief textual description of this heap
getObjects
java.util.Iterator getObjects()
- Returns:
- an iterator over the collection of managed objects which
are stored in this heap
- See Also:
JavaObject
,
CorruptData
equals
boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
-
- Returns:
- True obj refers to the same Java Heap in the image
hashCode
int hashCode()
- Overrides:
hashCode
in class java.lang.Object