public interface JavaMonitor
| 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.
|
Iterator |
getEnterWaiters()
Get the set of threads waiting to enter the monitor
|
ImagePointer |
getID()
Get the identifier for this monitor
|
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.
|
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()
String getName() throws CorruptDataException
CorruptDataExceptionJavaThread getOwner() throws CorruptDataException
CorruptDataExceptionIterator getEnterWaiters()
JavaThread,
CorruptDataIterator getNotifyWaiters()
JavaThread,
CorruptDataImagePointer getID()
boolean 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.