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 Type
    Method
    Description
    void
    gc()
    Performs the garbage collection
    int
    Gets the number of methods for which taint abstractions were removed during garbage collection
    int
    Gets the number of taint abstractions that were removed during garbage collection
    void
    notifyEdgeSchedule(heros.solver.PathEdge<N,D> edge)
    Notifies the garbage collector that a new edge has been scheduled for processing
    void
    Notifies the garbage collector that the IFDS solver has finished propagating its edges
    void
    notifyTaskProcessed(heros.solver.PathEdge<N,D> edge)
    Notifies the garbage collector that an edge has been fully processed
  • Method Details

    • notifyEdgeSchedule

      void notifyEdgeSchedule(heros.solver.PathEdge<N,D> edge)
      Notifies the garbage collector that a new edge has been scheduled for processing
      Parameters:
      edge - The edge that has been scheduled
    • notifyTaskProcessed

      void notifyTaskProcessed(heros.solver.PathEdge<N,D> edge)
      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