Package com.helix.profiler.jit
Class CompilationHistory
java.lang.Object
com.helix.profiler.jit.CompilationHistory
Thread-safe container holding historical JIT compilation events with filtering capabilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvent(CompilationEvent event) Adds a compilation event to history.voidclear()Clears all recorded compilation events.Returns all deoptimization events (e.g.Returns an unmodifiable list of all recorded events.getEventsForMethod(String method) Returns compilation events for a specific method signature.getEventsForTier(int tier) Returns compilation events for a specific compilation tier level.intsize()Returns the total count of recorded compilation events.
-
Constructor Details
-
CompilationHistory
public CompilationHistory() -
CompilationHistory
public CompilationHistory(int maxCapacity)
-
-
Method Details
-
addEvent
Adds a compilation event to history. Evicts oldest entries if capacity is exceeded. -
getEvents
Returns an unmodifiable list of all recorded events. -
getEventsForMethod
Returns compilation events for a specific method signature. -
getEventsForTier
Returns compilation events for a specific compilation tier level. -
getDeoptimizationEvents
Returns all deoptimization events (e.g. "made not entrant", "made zombie"). -
size
public int size()Returns the total count of recorded compilation events. -
clear
public void clear()Clears all recorded compilation events.
-