java.lang.Object
com.ibm.j9ddr.vm29.tools.ddrinteractive.monitors.DeadlockUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
findThreadCycle
(com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer aThread, HashMap<Integer, NativeDeadlockGraphNode> deadlocks, HashMap<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer, Object> objectMonitorsMap) readObjectMonitors
(com.ibm.j9ddr.vm29.pointer.generated.J9JavaVMPointer vm) Returns a hash map of Object Pointers to their respective mutex (Object Monitor or System Monitor)static void
writeDeadlockNode
(NativeDeadlockGraphNode node, boolean isCycleHead, HashMap<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer, Object> objectMonitorsMap, PrintStream out) '
-
Constructor Details
-
DeadlockUtils
public DeadlockUtils()
-
-
Method Details
-
findThreadCycle
public static void findThreadCycle(com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer aThread, HashMap<Integer, NativeDeadlockGraphNode> deadlocks, HashMap<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer, throws CorruptDataExceptionObject> objectMonitorsMap) - Parameters:
vmThread
-map
-- Throws:
CorruptDataException
-
writeDeadlockNode
public static void writeDeadlockNode(NativeDeadlockGraphNode node, boolean isCycleHead, HashMap<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer, Object> objectMonitorsMap, PrintStream out) throws CorruptDataException'- Parameters:
node
-isCycleHead
-objectMonitorsMap
-out
-- Throws:
CorruptDataException
-
readObjectMonitors
public static HashMap<com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer,Object> readObjectMonitors(com.ibm.j9ddr.vm29.pointer.generated.J9JavaVMPointer vm) throws CorruptDataException Returns a hash map of Object Pointers to their respective mutex (Object Monitor or System Monitor)- Parameters:
vm
-- Returns:
- Throws:
CorruptDataException
-