Public Methods | |
InterClassAnalysis (List cl) | |
Private Methods | |
void | checkOneMdForInsFdsNotInCurrentClass (Map interferenceMap, MethodInfo methodInfo, Set interferRefList) |
void | checkOneMethod (Map interferenceMap, MethodInfo methodInfo, Set interferRefList, boolean haveInstanceField) |
Set | containsField (Set insFdSet, SootField sf) |
void | initInterferenceMap (Set fieldRefList, Map interfMap) |
void | interferenceDependence () |
Map | interferForMethod (MethodInfo currentMethod) |
void | lookupInterferDefStmt (ClassInfo classInfo, Map interferenceMap, MethodInfo currentMdInfo) |
void | lookupReadyDependStmt (Map readyMap, List methodsList, MethodInfo currentMethodInfo, List lockPairList, List waitStmtList) |
void | readyDependence () |
Map | readyForMethod (MethodInfo currentMethod, List lockPairList, List waitStmtList) |
Private Attributes | |
List | classList |
Definition at line 49 of file InterClassAnalysis.java.
|
This constructor calls
Definition at line 63 of file InterClassAnalysis.java. |
|
Check (find out) all definitions in one method for each field reference in the set
Definition at line 78 of file InterClassAnalysis.java. Referenced by interferForMethod(), and lookupInterferDefStmt().
|
|
Check all definitions in one method such that define values which are used in an element of
Definition at line 120 of file InterClassAnalysis.java. Referenced by interferForMethod(), and lookupInterferDefStmt().
|
|
Get all field references from a set with the given field
Definition at line 155 of file InterClassAnalysis.java. Referenced by checkOneMdForInsFdsNotInCurrentClass().
|
|
Initialize interference map with given set.
Definition at line 173 of file InterClassAnalysis.java. Referenced by interferForMethod().
|
|
Analyse intereference dependence for one method by calling
Definition at line 213 of file InterClassAnalysis.java. Referenced by interferenceDependence().
|
|
Analyse interference dependence for each method by calling interferForMethod(). Definition at line 184 of file InterClassAnalysis.java. Referenced by InterClassAnalysis().
|
|
Find out all definitions in curren class for each use of field reference in current method. And put those definitions into interference map.
Definition at line 258 of file InterClassAnalysis.java. Referenced by interferForMethod().
|
|
Look up all ready dependence from a list of method starting from current method with lock pair list and wait statement list.
Definition at line 320 of file InterClassAnalysis.java. Referenced by readyForMethod().
|
|
Analyse ready dependence for each method in the class list by calling readyForMethod(). Definition at line 375 of file InterClassAnalysis.java. Referenced by InterClassAnalysis().
|
|
Analyse ready dependence for one method by calling (Map, List MethodInfo,List,List) lookupReadyDependStmt().
Definition at line 406 of file InterClassAnalysis.java. Referenced by readyDependence().
|
|
A list of ClassInfo. Definition at line 54 of file InterClassAnalysis.java. |