Class DeadlockDetector
- java.lang.Object
-
- soot.jimple.toolkits.thread.synchronization.DeadlockDetector
-
public class DeadlockDetector extends Object
-
-
Constructor Summary
Constructors Constructor Description DeadlockDetector(boolean optionPrintDebug, boolean optionRepairDeadlock, boolean optionAllowSelfEdges, List<soot.jimple.toolkits.thread.synchronization.CriticalSection> criticalSections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableDirectedGraph<soot.jimple.toolkits.thread.synchronization.CriticalSectionGroup>detectComponentBasedDeadlock()MutableEdgeLabelledDirectedGraph<Integer,soot.jimple.toolkits.thread.synchronization.CriticalSection>detectLocksetDeadlock(Map<Value,Integer> lockToLockNum, List<PointsToSetInternal> lockPTSets)voidreorderLocksets(Map<Value,Integer> lockToLockNum, MutableEdgeLabelledDirectedGraph<Integer,soot.jimple.toolkits.thread.synchronization.CriticalSection> lockOrder)
-
-
-
Constructor Detail
-
DeadlockDetector
public DeadlockDetector(boolean optionPrintDebug, boolean optionRepairDeadlock, boolean optionAllowSelfEdges, List<soot.jimple.toolkits.thread.synchronization.CriticalSection> criticalSections)
-
-
Method Detail
-
detectComponentBasedDeadlock
public MutableDirectedGraph<soot.jimple.toolkits.thread.synchronization.CriticalSectionGroup> detectComponentBasedDeadlock()
-
detectLocksetDeadlock
public MutableEdgeLabelledDirectedGraph<Integer,soot.jimple.toolkits.thread.synchronization.CriticalSection> detectLocksetDeadlock(Map<Value,Integer> lockToLockNum, List<PointsToSetInternal> lockPTSets)
-
reorderLocksets
public void reorderLocksets(Map<Value,Integer> lockToLockNum, MutableEdgeLabelledDirectedGraph<Integer,soot.jimple.toolkits.thread.synchronization.CriticalSection> lockOrder)
-
-