Class J9ObjectMonitorHelper
java.lang.Object
com.ibm.j9ddr.vm29.pointer.helper.J9ObjectMonitorHelper
A helper class for functionality related to J9ObjectMonitorPointers
NOTE: J9ObjectMonitorHelper is only relevant to inflated monitors, whereas ObjectMonitor handles both inflated and uninflated monitors
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatFullInteractive
(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer objectMonitor) Returns a string containing information related to this monitor.static com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer
getObject
(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer objectMonitor) Returns the J9ObjectPointer corresponding to the specified J9ObjectMonitorPointer
-
Constructor Details
-
J9ObjectMonitorHelper
public J9ObjectMonitorHelper()
-
-
Method Details
-
getObject
public static com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer getObject(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer objectMonitor) throws CorruptDataException Returns the J9ObjectPointer corresponding to the specified J9ObjectMonitorPointer- Parameters:
objectMonitor
- the J9ObjectMonitorPointer who's object we are after- Returns:
- the J9ObjectPointer corresponding to the specified J9ObjectMonitorPointer
- Throws:
CorruptDataException
-
formatFullInteractive
public static String formatFullInteractive(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectMonitorPointer objectMonitor) throws CorruptDataException Returns a string containing information related to this monitor.- Parameters:
objectMonitor
- the monitor who's information we are after.- Returns:
- a string containing information related to this monitor.
- Throws:
CorruptDataException
- If the monitor represents: - an instance of java/lang/String, the value of the String is included - an instance of java/long/Class, the name of the class it represents is included
-