Class AbstractGarbageCollector<N,D,A>
java.lang.Object
soot.jimple.infoflow.solver.gcSolver.AbstractGarbageCollector<N,D,A>
- All Implemented Interfaces:
IGarbageCollector<N,D>
- Direct Known Subclasses:
AbstractReferenceCountingGarbageCollector,AggressiveGarbageCollector
public abstract class AbstractGarbageCollector<N,D,A>
extends Object
implements IGarbageCollector<N,D>
Abstract base class for garbage collectors
- Author:
- Steven Arzt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final soot.jimple.toolkits.ide.icfg.BiDiInterproceduralCFG<N,soot.SootMethod> protected final IGCReferenceProvider<A> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractGarbageCollector(soot.jimple.toolkits.ide.icfg.BiDiInterproceduralCFG<N, soot.SootMethod> icfg, soot.util.ConcurrentHashMultiMap<A, heros.solver.PathEdge<N, D>> jumpFunctions) AbstractGarbageCollector(soot.jimple.toolkits.ide.icfg.BiDiInterproceduralCFG<N, soot.SootMethod> icfg, soot.util.ConcurrentHashMultiMap<A, heros.solver.PathEdge<N, D>> jumpFunctions, IGCReferenceProvider<A> referenceProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IGCReferenceProvider<A>Creates the reference provider that garbage collectors can use to identify dependenciesprotected longprotected voidInitializes the garbage collectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface soot.jimple.infoflow.solver.gcSolver.IGarbageCollector
gc, getGcedAbstractions, getGcedEdges, notifyEdgeSchedule, notifySolverTerminated, notifyTaskProcessed
-
Field Details
-
icfg
-
referenceProvider
-
jumpFunctions
-
-
Constructor Details
-
AbstractGarbageCollector
-
AbstractGarbageCollector
-
-
Method Details
-
initialize
protected void initialize()Initializes the garbage collector -
createReferenceProvider
Creates the reference provider that garbage collectors can use to identify dependencies- Returns:
- The new reference provider
-
getRemainingPathEdgeCount
protected long getRemainingPathEdgeCount()
-