java.lang.Object
com.ibm.j9ddr.vm29.j9.ObjectMonitor
- All Implemented Interfaces:
Comparable<ObjectMonitor>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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>
abstract long
getCount()
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ThreadAbstractMonitorPointer
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer
abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
abstract com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer
getOwner()
abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9VMThreadPointer>
abstract boolean
abstract boolean
abstract boolean
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
-
Constructor Details
-
ObjectMonitor
public ObjectMonitor()
-
-
Method Details
-
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
- Throws:
CorruptDataException
-
isInflated
public abstract boolean isInflated() -
isInTable
public abstract boolean isInTable() -
isContended
- 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()
-