Class AggressiveGarbageCollector<N,D>
java.lang.Object
soot.jimple.infoflow.solver.gcSolver.AbstractGarbageCollector<N,D,A>
soot.jimple.infoflow.solver.gcSolver.AbstractReferenceCountingGarbageCollector<N,D,heros.solver.Pair<soot.SootMethod,D>>
soot.jimple.infoflow.solver.gcSolver.fpc.FineGrainedReferenceCountingGarbageCollector<N,D>
soot.jimple.infoflow.solver.gcSolver.fpc.AggressiveGarbageCollector<N,D>
- All Implemented Interfaces:
IGarbageCollector<N,,D> IGarbageCollectorPeer<heros.solver.Pair<soot.SootMethod,D>>
public class AggressiveGarbageCollector<N,D>
extends FineGrainedReferenceCountingGarbageCollector<N,D>
-
Field Summary
Fields inherited from class soot.jimple.infoflow.solver.gcSolver.fpc.FineGrainedReferenceCountingGarbageCollector
gcThread, logger, maxMemoryConsumption, maxPathEdgeCount, sleepTimeSecondsFields inherited from class soot.jimple.infoflow.solver.gcSolver.AbstractReferenceCountingGarbageCollector
checkChangeCounter, edgeCounterForThreshold, edgeThreshold, gcedAbstractions, gcedEdges, gcScheduleSet, jumpFnCounter, methodThreshold, oldEdges, peerGroup, trigger, validateEdgesFields inherited from class soot.jimple.infoflow.solver.gcSolver.AbstractGarbageCollector
icfg, jumpFunctions, referenceProvider -
Constructor Summary
ConstructorsConstructorDescriptionAggressiveGarbageCollector(soot.jimple.toolkits.ide.icfg.BiDiInterproceduralCFG<N, soot.SootMethod> icfg, soot.util.ConcurrentHashMultiMap<heros.solver.Pair<soot.SootMethod, D>, heros.solver.PathEdge<N, D>> jumpFunctions) AggressiveGarbageCollector(soot.jimple.toolkits.ide.icfg.BiDiInterproceduralCFG<N, soot.SootMethod> icfg, soot.util.ConcurrentHashMultiMap<heros.solver.Pair<soot.SootMethod, D>, heros.solver.PathEdge<N, D>> jumpFunctions, IGCReferenceProvider<heros.solver.Pair<soot.SootMethod, D>> referenceProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected IGCReferenceProvider<heros.solver.Pair<soot.SootMethod,D>> Creates the reference provider that garbage collectors can use to identify dependenciesbooleanhasActiveDependencies(heros.solver.Pair<soot.SootMethod, D> 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 collectedMethods inherited from class soot.jimple.infoflow.solver.gcSolver.fpc.FineGrainedReferenceCountingGarbageCollector
gc, genAbstraction, getMaxMemoryConsumption, getMaxPathEdgeCount, initialize, notifySolverTerminated, onAfterRemoveEdges, setSleepTimeSecondsMethods inherited from class soot.jimple.infoflow.solver.gcSolver.AbstractReferenceCountingGarbageCollector
gcImmediate, getGcedAbstractions, getGcedEdges, notifyEdgeSchedule, notifyTaskProcessed, onBeforeRemoveEdges, setCheckChangeCounter, setEdgeThreshold, setMethodThreshold, setPeerGroup, setTriggerMethods inherited from class soot.jimple.infoflow.solver.gcSolver.AbstractGarbageCollector
getRemainingPathEdgeCount
-
Constructor Details
-
AggressiveGarbageCollector
public AggressiveGarbageCollector(soot.jimple.toolkits.ide.icfg.BiDiInterproceduralCFG<N, soot.SootMethod> icfg, soot.util.ConcurrentHashMultiMap<heros.solver.Pair<soot.SootMethod, D>, heros.solver.PathEdge<N, D>> jumpFunctions, IGCReferenceProvider<heros.solver.Pair<soot.SootMethod, D>> referenceProvider) -
AggressiveGarbageCollector
-
-
Method Details
-
createReferenceProvider
Description copied from class:AbstractGarbageCollectorCreates the reference provider that garbage collectors can use to identify dependencies- Specified by:
createReferenceProviderin classAbstractGarbageCollector<N,D, heros.solver.Pair<soot.SootMethod, D>> - Returns:
- The new reference provider
-
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- Parameters:
abstraction- The abstraction to check- Returns:
- True if the abstraction has active dependencies and thus cannot be garbage-collected, false otherwise
-