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
,
CorruptData
String getName()
Iterator getObjects()
JavaObject
,
CorruptData
boolean equals(Object obj)
java.lang.Object
equals
in class Object
obj
- Object.hashCode()
int hashCode()
java.lang.Object
true
when passed to
.equals
must answer the same value for this
method.hashCode
in class Object
Object.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.