Package com.helix.profiler.jit
Record Class InliningAnalyzer.InliningDecision
java.lang.Object
java.lang.Record
com.helix.profiler.jit.InliningAnalyzer.InliningDecision
- Enclosing class:
InliningAnalyzer
public static record InliningAnalyzer.InliningDecision(int bytecodeIndex, String targetMethod, int bytecodeSize, boolean inlined, String reason)
extends Record
Record representing a single JIT inlining decision.
-
Constructor Summary
ConstructorsConstructorDescriptionInliningDecision(int bytecodeIndex, String targetMethod, int bytecodeSize, boolean inlined, String reason) Creates an instance of aInliningDecisionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebytecodeIndexrecord component.intReturns the value of thebytecodeSizerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleaninlined()Returns the value of theinlinedrecord component.reason()Returns the value of thereasonrecord component.Returns the value of thetargetMethodrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InliningDecision
public InliningDecision(int bytecodeIndex, String targetMethod, int bytecodeSize, boolean inlined, String reason) Creates an instance of aInliningDecisionrecord class.- Parameters:
bytecodeIndex- the value for thebytecodeIndexrecord componenttargetMethod- the value for thetargetMethodrecord componentbytecodeSize- the value for thebytecodeSizerecord componentinlined- the value for theinlinedrecord componentreason- the value for thereasonrecord 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 '=='. -
bytecodeIndex
public int bytecodeIndex()Returns the value of thebytecodeIndexrecord component.- Returns:
- the value of the
bytecodeIndexrecord component
-
targetMethod
Returns the value of thetargetMethodrecord component.- Returns:
- the value of the
targetMethodrecord component
-
bytecodeSize
public int bytecodeSize()Returns the value of thebytecodeSizerecord component.- Returns:
- the value of the
bytecodeSizerecord component
-
inlined
public boolean inlined()Returns the value of theinlinedrecord component.- Returns:
- the value of the
inlinedrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-