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>
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected HashMap<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer,
com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer> protected com.ibm.j9ddr.vm29.pointer.generated.J9HashTablePointer
protected HashTable<PointerPointer>
protected com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer
-
Constructor Summary
ModifierConstructorDescriptionprotected
MonitorTable
(com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer entry) -
Method Summary
Modifier and TypeMethodDescriptionstatic MonitorTable
from
(com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer entry) long
getCount()
Returns the number of elements in a given pool.com.ibm.j9ddr.vm29.pointer.generated.J9HashTablePointer
com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer
Returns the name of the tableSlotIterator<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
iterator()
Returns an iterator over the elements in the poolcom.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.
-
Field Details
-
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
-
MonitorTable
protected MonitorTable(com.ibm.j9ddr.vm29.pointer.generated.J9MonitorTableListEntryPointer entry) throws CorruptDataException - Throws:
CorruptDataException
-
-
Method Details
-
getJ9HashTablePointer
public com.ibm.j9ddr.vm29.pointer.generated.J9HashTablePointer getJ9HashTablePointer() -
extraInfo
- 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
Description copied from interface:IHashTable
Returns an iterator over the elements in the pool- Specified by:
iterator
in interfaceIHashTable<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 interfaceIHashTable<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer>
- Returns:
- the number of elements in the pool
-
getTableName
Description copied from interface:IHashTable
Returns the name of the table- Specified by:
getTableName
in interfaceIHashTable<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:
-
: monitorTablePeek
-