Class AutoBoxingRule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.AbstractRule
-
- org.openjdk.jmc.flightrecorder.rules.jdk.memory.AutoBoxingRule
-
- All Implemented Interfaces:
IRule
public class AutoBoxingRule extends AbstractRule
Rule that checks how much of the total allocation is caused by possible primitive to object conversion. Looks at top frames and searches for java.lang.BoxType.valueOf.
-
-
Field Summary
Fields Modifier and Type Field Description static TypedResult<IQuantity>
BOXED_ALLOCATION_RATIO
static TypedResult<IQuantity>
BOXED_ALLOCATION_SIZE
static TypedResult<IQuantity>
LARGEST_ALLOCATED_BY_TYPE
static TypedResult<IMCType>
LARGEST_ALLOCATED_TYPE
static TypedResult<IMCFrame>
SECOND_FRAME_MOST_ALLOCATED
-
Fields inherited from class org.openjdk.jmc.flightrecorder.rules.AbstractRule
evaluationTask
-
-
Constructor Summary
Constructors Constructor Description AutoBoxingRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IResult
getResult(IItemCollection items, IPreferenceValueProvider vp, IResultValueProvider rp)
-
Methods inherited from class org.openjdk.jmc.flightrecorder.rules.AbstractRule
createEvaluation, getConfigurationAttributes, getId, getName, getRequiredEvents, getResults, getTopic
-
-
-
-
Field Detail
-
LARGEST_ALLOCATED_TYPE
public static final TypedResult<IMCType> LARGEST_ALLOCATED_TYPE
-
SECOND_FRAME_MOST_ALLOCATED
public static final TypedResult<IMCFrame> SECOND_FRAME_MOST_ALLOCATED
-
BOXED_ALLOCATION_SIZE
public static final TypedResult<IQuantity> BOXED_ALLOCATION_SIZE
-
LARGEST_ALLOCATED_BY_TYPE
public static final TypedResult<IQuantity> LARGEST_ALLOCATED_BY_TYPE
-
BOXED_ALLOCATION_RATIO
public static final TypedResult<IQuantity> BOXED_ALLOCATION_RATIO
-
-
Method Detail
-
getResult
protected IResult getResult(IItemCollection items, IPreferenceValueProvider vp, IResultValueProvider rp)
- Specified by:
getResult
in classAbstractRule
-
-