Package com.helix.experiments.jit
Record Class JitReport
java.lang.Object
java.lang.Record
com.helix.experiments.jit.JitReport
public record JitReport(String targetMethod, long totalInvocations, int highestTierAchieved, int c1CompilationCount, int c2CompilationCount, boolean isInlined, String inliningReason)
extends Record
Report summarizing observed JIT compilation tiers, invocation counts, and inlining decisions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thec1CompilationCountrecord component.intReturns the value of thec2CompilationCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thehighestTierAchievedrecord component.Returns the value of theinliningReasonrecord component.booleanReturns the value of theisInlinedrecord component.Returns the value of thetargetMethodrecord component.toString()Returns a string representation of this record class.longReturns the value of thetotalInvocationsrecord component.
-
Constructor Details
-
JitReport
public JitReport(String targetMethod, long totalInvocations, int highestTierAchieved, int c1CompilationCount, int c2CompilationCount, boolean isInlined, String inliningReason) Creates an instance of aJitReportrecord class.- Parameters:
targetMethod- the value for thetargetMethodrecord componenttotalInvocations- the value for thetotalInvocationsrecord componenthighestTierAchieved- the value for thehighestTierAchievedrecord componentc1CompilationCount- the value for thec1CompilationCountrecord componentc2CompilationCount- the value for thec2CompilationCountrecord componentisInlined- the value for theisInlinedrecord componentinliningReason- the value for theinliningReasonrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
targetMethod
Returns the value of thetargetMethodrecord component.- Returns:
- the value of the
targetMethodrecord component
-
totalInvocations
public long totalInvocations()Returns the value of thetotalInvocationsrecord component.- Returns:
- the value of the
totalInvocationsrecord component
-
highestTierAchieved
public int highestTierAchieved()Returns the value of thehighestTierAchievedrecord component.- Returns:
- the value of the
highestTierAchievedrecord component
-
c1CompilationCount
public int c1CompilationCount()Returns the value of thec1CompilationCountrecord component.- Returns:
- the value of the
c1CompilationCountrecord component
-
c2CompilationCount
public int c2CompilationCount()Returns the value of thec2CompilationCountrecord component.- Returns:
- the value of the
c2CompilationCountrecord component
-
isInlined
public boolean isInlined()Returns the value of theisInlinedrecord component.- Returns:
- the value of the
isInlinedrecord component
-
inliningReason
Returns the value of theinliningReasonrecord component.- Returns:
- the value of the
inliningReasonrecord component
-