Class GarbageCollectorPeerGroup<A>
java.lang.Object
soot.jimple.infoflow.solver.gcSolver.GarbageCollectorPeerGroup<A>
- All Implemented Interfaces:
IGarbageCollectorPeer<A>
Set of multiple garbage collectors that share a set of active dependencies
- Author:
- Steven Arzt
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a garbage collector to this peer groupbooleanhasActiveDependencies(A abstraction) Checks whether the given abstraction has any open dependencies in any of the solvers that are members of this peer group that prevent its jump functions from being garbage collectedvoid
-
Constructor Details
-
GarbageCollectorPeerGroup
public GarbageCollectorPeerGroup() -
GarbageCollectorPeerGroup
-
-
Method Details
-
hasActiveDependencies
Description copied from interface:IGarbageCollectorPeerChecks whether the given abstraction has any open dependencies in any of the solvers that are members of this peer group that prevent its jump functions from being garbage collected- Specified by:
hasActiveDependenciesin interfaceIGarbageCollectorPeer<A>- Parameters:
abstraction- The abstraction to check- Returns:
- True if the abstraction has active dependencies and thus cannot be garbage-collected, false otherwise
-
notifySolverTerminated
public void notifySolverTerminated()- Specified by:
notifySolverTerminatedin interfaceIGarbageCollectorPeer<A>
-
addGarbageCollector
Adds a garbage collector to this peer group- Parameters:
peer- The garbage collector to add
-