- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.ObjectMonitor
-
- All Implemented Interfaces:
Comparable<ObjectMonitor>
public abstract class ObjectMonitor extends Object implements Comparable<ObjectMonitor>
-
-
Constructor Summary
Constructors Constructor Description ObjectMonitor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ObjectMonitor
fromJ9Object(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
Return an ObjectMonitor representing the monitor for the given object, or null if it does not have a lockword.abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer>
getBlockedThreads()
abstract long
getCount()
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ThreadAbstractMonitorPointer
getInflatedMonitor()
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer
getJ9ObjectMonitorPointer()
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer
getLockword()
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
getObject()
abstract com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer
getOwner()
abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer>
getWaitingThreads()
abstract boolean
isContended()
abstract boolean
isInflated()
abstract boolean
isInTable()
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
fromJ9Object
public static ObjectMonitor fromJ9Object(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) throws CorruptDataException
Return an ObjectMonitor representing the monitor for the given object, or null if it does not have a lockword.- Parameters:
object
- the object to read- Returns:
- the ObjectMonitor corresponding to the object
- Throws:
CorruptDataException
-
getObject
public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer getObject()
-
getLockword
public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer getLockword()
-
getOwner
public abstract com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer getOwner() throws CorruptDataException
- Throws:
CorruptDataException
-
getCount
public abstract long getCount() throws CorruptDataException
- Throws:
CorruptDataException
-
isInflated
public abstract boolean isInflated()
-
isInTable
public abstract boolean isInTable()
-
isContended
public abstract boolean isContended() throws CorruptDataException
- Throws:
CorruptDataException
-
getWaitingThreads
public abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer> getWaitingThreads() throws CorruptDataException
- Throws:
CorruptDataException
-
getBlockedThreads
public abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer> getBlockedThreads() throws CorruptDataException
- Throws:
CorruptDataException
-
getInflatedMonitor
public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ThreadAbstractMonitorPointer getInflatedMonitor()
-
getJ9ObjectMonitorPointer
public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer getJ9ObjectMonitorPointer()
-
-