Class TieredCompilationTracker

java.lang.Object
com.helix.profiler.jit.TieredCompilationTracker

public class TieredCompilationTracker extends Object
Tracker that monitors JIT compilation tier transitions (C1 -> C2, deoptimizations, OSR) per method.
  • Constructor Details

    • TieredCompilationTracker

      public TieredCompilationTracker()
  • Method Details

    • recordEvent

      public void recordEvent(CompilationEvent event)
      Records a new compilation event for tier transition tracking.
    • getMethodHistory

      public List<CompilationEvent> getMethodHistory(String method)
      Returns the chronological list of compilation events recorded for the given method.
    • getCurrentTier

      public int getCurrentTier(String method)
      Gets the current highest active compilation tier reached by the method. Returns 0 if no compilation events recorded or if the method was deoptimized to zombie/not-entrant.
    • getTotalTransitions

      public int getTotalTransitions()
      Returns the total count of tier transitions across all tracked methods.
    • isC2Compiled

      public boolean isC2Compiled(String method)
      Checks if a method reached Tier 4 (C2 Server Compiler).
    • reset

      public void reset()
      Resets tracking data.