com.ibm.dtfj.java

Interface JavaHeap


  1. 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
  1. boolean
equals(java.lang.Object obj)
  1. java.lang.String
getName()
Get a brief textual description of this heap.
  1. java.util.Iterator
getObjects()
Get the set of objects which are stored in this heap.
  1. java.util.Iterator
getSections()
Get the set of contiguous memory regions which form this heap.
  1. int
hashCode()

Method Detail

getSections

  1. 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

  1. java.lang.String getName()
Get a brief textual description of this heap.
Returns:
a brief textual description of this heap

getObjects

  1. 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

  1. 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

  1. int hashCode()
Overrides:
hashCode in class java.lang.Object