Interface IGarbageCollector<N,D>
- All Known Implementing Classes:
AbstractGarbageCollector,AbstractReferenceCountingGarbageCollector,AggressiveGarbageCollector,AggressiveGarbageCollector,DefaultGarbageCollector,FineGrainedReferenceCountingGarbageCollector,MethodLevelReferenceCountingGarbageCollector,NormalGarbageCollector,NullGarbageCollector,ThreadedGarbageCollector
public interface IGarbageCollector<N,D>
Common interface for all garbage collector implementations oin the solver
- Author:
- Steven Arzt
-
Method Summary
Modifier and TypeMethodDescriptionvoidgc()Performs the garbage collectionintGets the number of methods for which taint abstractions were removed during garbage collectionintGets the number of taint abstractions that were removed during garbage collectionvoidnotifyEdgeSchedule(heros.solver.PathEdge<N, D> edge) Notifies the garbage collector that a new edge has been scheduled for processingvoidNotifies the garbage collector that the IFDS solver has finished propagating its edgesvoidnotifyTaskProcessed(heros.solver.PathEdge<N, D> edge) Notifies the garbage collector that an edge has been fully processed
-
Method Details
-
notifyEdgeSchedule
Notifies the garbage collector that a new edge has been scheduled for processing- Parameters:
edge- The edge that has been scheduled
-
notifyTaskProcessed
Notifies the garbage collector that an edge has been fully processed- Parameters:
edge- The edge has been fully processed
-
gc
void gc()Performs the garbage collection -
getGcedAbstractions
int getGcedAbstractions()Gets the number of methods for which taint abstractions were removed during garbage collection- Returns:
- The number of methods for which taint abstractions were removed during garbage collection
-
getGcedEdges
int getGcedEdges()Gets the number of taint abstractions that were removed during garbage collection- Returns:
- The number of taint abstractions that were removed during garbage collection
-
notifySolverTerminated
void notifySolverTerminated()Notifies the garbage collector that the IFDS solver has finished propagating its edges
-