Class AllocationTracker

java.lang.Object
com.helix.agent.transformer.AllocationTracker

public class AllocationTracker extends Object
Registry and metric collector for tracking object allocations across instrumented classes.
  • Constructor Details

    • AllocationTracker

      public AllocationTracker()
  • Method Details

    • getInstance

      public static AllocationTracker getInstance()
    • recordAllocation

      public void recordAllocation(String className)
    • getTotalAllocations

      public long getTotalAllocations()
    • getAllocationsForClass

      public long getAllocationsForClass(String className)
    • getAllocationsByClass

      public Map<String,Long> getAllocationsByClass()
    • reset

      public void reset()