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.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
equals(java.lang.Object obj)
|
|
getName()
Get a brief textual description of this heap.
|
|
getObjects()
Get the set of objects which are stored in this heap.
|
|
getSections()
Get the set of contiguous memory regions which form this heap.
|
|
hashCode()
|
Method Detail
getSections
- java.util.Iterator getSections( )
Get the set of contiguous memory regions which form this heap.
Returns:
an iterator over the collection of contiguous memory regions
which form this heap
See Also:
getName
- java.lang.String getName()
Get a brief textual description of this heap.
Returns:
a brief textual description of this heap
getObjects
- java.util.Iterator getObjects()
Get the set of objects which are stored in this heap.
Returns:
an iterator over the collection of objects which
are stored in this heap
See Also:
equals
- boolean equals(java.lang.Object obj)
Overrides:
equals
in class java.lang.Object
Parameters:
obj
- Returns:
True if the given object refers to the same Java Heap in the image
hashCode
- int hashCode()
Overrides:
hashCode
in class java.lang.Object