Module openj9.dtfj

Class MonitorTableList


  • public class MonitorTableList
    extends Object
    Represents the list of monitors anchored on J9JavaVM->monitorTableList
    • Field Detail

      • monitorTables

        protected static MonitorTable[] monitorTables
      • initialized

        protected static boolean initialized
    • Constructor Detail

      • MonitorTableList

        public MonitorTableList()
    • Method Detail

      • iterator

        public MonitorTableListIterator iterator()
                                          throws CorruptDataException
        Returns an iterator that can be used to iterate over the J9ObjectMonitorPointers in the MonitorTableList
        Returns:
        an iterator that can be used to iterate over the J9ObjectMonitorPointers in the MonitorTableList
        Throws:
        CorruptDataException
      • peek

        public static com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer peek​(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
                                                                                throws CorruptDataException
        Search all the monitor tables in the J9JavaVM->monitorTables for the inflated monitor corresponding to the specified object
        Parameters:
        object - the object
        Throws:
        CorruptDataException