Module openj9.dtfj

Class ObjectMonitor

    • Constructor Detail

      • ObjectMonitor

        public ObjectMonitor()
    • 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()
      • isInflated

        public abstract boolean isInflated()
      • isInTable

        public abstract boolean isInTable()
      • getInflatedMonitor

        public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ThreadAbstractMonitorPointer getInflatedMonitor()
      • getJ9ObjectMonitorPointer

        public abstract com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer getJ9ObjectMonitorPointer()