Package com.helix.profiler.jit
Class TieredCompilationTracker
java.lang.Object
com.helix.profiler.jit.TieredCompilationTracker
Tracker that monitors JIT compilation tier transitions (C1 -> C2, deoptimizations, OSR) per method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCurrentTier(String method) Gets the current highest active compilation tier reached by the method.getMethodHistory(String method) Returns the chronological list of compilation events recorded for the given method.intReturns the total count of tier transitions across all tracked methods.booleanisC2Compiled(String method) Checks if a method reached Tier 4 (C2 Server Compiler).voidrecordEvent(CompilationEvent event) Records a new compilation event for tier transition tracking.voidreset()Resets tracking data.
-
Constructor Details
-
TieredCompilationTracker
public TieredCompilationTracker()
-
-
Method Details
-
recordEvent
Records a new compilation event for tier transition tracking. -
getMethodHistory
Returns the chronological list of compilation events recorded for the given method. -
getCurrentTier
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
Checks if a method reached Tier 4 (C2 Server Compiler). -
reset
public void reset()Resets tracking data.
-