public interface JavaMonitor
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares the argument to the receiver, and answers true
if they represent the same object using a class
specific comparison.
|
java.util.Iterator |
getEnterWaiters()
Get the set of threads waiting to enter the monitor
|
ImagePointer |
getID()
Get the identifier for this monitor
|
java.lang.String |
getName()
Note that the name of a JavaMonitor is not necessarily meaningful but is provided here as it is
usually present in the running VM.
|
java.util.Iterator |
getNotifyWaiters()
Get the set of threads waiting to be notified on the monitor (in the Object.wait method)
|
JavaObject |
getObject()
Get the object associated with this monitor.
|
JavaThread |
getOwner()
Get the thread which currently owns the monitor
|
int |
hashCode()
Answers an integer hash code for the receiver.
|
JavaObject getObject()
java.lang.String getName()
throws CorruptDataException
CorruptDataExceptionJavaThread getOwner() throws CorruptDataException
CorruptDataExceptionjava.util.Iterator getEnterWaiters()
JavaThread,
CorruptDatajava.util.Iterator getNotifyWaiters()
JavaThread,
CorruptDataImagePointer getID()
boolean equals(java.lang.Object obj)
java.lang.Objectequals in class java.lang.Objectobj - Object.hashCode()int hashCode()
java.lang.Objecttrue when passed to
.equals must answer the same value for this
method.hashCode in class java.lang.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.
DRAFT internal-b00