Class MonitorTable

java.lang.Object
com.ibm.j9ddr.vm29.j9.MonitorTable
All Implemented Interfaces:
IHashTable<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>

public class MonitorTable extends Object implements IHashTable<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
  • Field Details

    • monitorTable

      protected HashTable<PointerPointer> monitorTable
    • cachedMonitorTable

      protected HashMap<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer,com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer> cachedMonitorTable
    • hashTable

      protected com.ibm.j9ddr.vm29.pointer.generated.J9HashTablePointer hashTable
    • monitorTableListEntry

      protected com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer monitorTableListEntry
  • Constructor Details

  • Method Details

    • getJ9HashTablePointer

      public com.ibm.j9ddr.vm29.pointer.generated.J9HashTablePointer getJ9HashTablePointer()
    • extraInfo

      public String extraInfo() throws CorruptDataException
      Throws:
      CorruptDataException
    • getMonitorTableListEntryPointer

      public com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer getMonitorTableListEntryPointer()
    • from

      public static MonitorTable from(com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer entry) throws CorruptDataException
      Throws:
      CorruptDataException
    • iterator

      public SlotIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer> iterator()
      Description copied from interface: IHashTable
      Returns an iterator over the elements in the pool
      Specified by:
      iterator in interface IHashTable<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
      Returns:
      an Iterator
    • getCount

      public long getCount()
      Description copied from interface: IHashTable
      Returns the number of elements in a given pool.
      Specified by:
      getCount in interface IHashTable<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
      Returns:
      the number of elements in the pool
    • getTableName

      public String getTableName()
      Description copied from interface: IHashTable
      Returns the name of the table
      Specified by:
      getTableName in interface IHashTable<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
      Returns:
      the number of elements in the pool
    • peek

      public com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer peek(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
      Search the MonitorTable for the inflated monitor corresponding to an object.
      See Also:
      • invalid reference
        : monitorTablePeek