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.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares the argument to the receiver, and answers true
if they represent the same object using a class
specific comparison.
|
String |
getName()
Get a brief textual description of this heap.
|
Iterator |
getObjects()
Get the set of objects which are stored in this heap.
|
Iterator |
getSections()
Get the set of contiguous memory regions which form this heap.
|
int |
hashCode()
Answers an integer hash code for the receiver.
|
Iterator getSections()
ImageSection,
CorruptDataString getName()
Iterator getObjects()
JavaObject,
CorruptDataboolean equals(Object obj)
java.lang.Objectequals in class Objectobj - Object.hashCode()int hashCode()
java.lang.Objecttrue when passed to
.equals must answer the same value for this
method.hashCode in class ObjectObject.equals(java.lang.Object)Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2004, 2025 IBM Corp. and others.