Class GcFreedRatioRule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.AbstractRule
-
- org.openjdk.jmc.flightrecorder.rules.jdk.memory.GcFreedRatioRule
-
- All Implemented Interfaces:
IRule
public class GcFreedRatioRule extends AbstractRule
Rule that checks how much memory was freed per second, and compares that to the liveset. Calculations are done in time windows. Rule is designed to only require the GCHeapSummary event.
-
-
Field Summary
Fields Modifier and Type Field Description static TypedResult<IQuantity>
AVERAGE_LIVESET
static TypedPreference<IQuantity>
FEW_GCS_LIMIT
static TypedResult<IQuantity>
GC_FREED_PER_SECOND
static TypedResult<IQuantity>
GC_FREED_RATIO
static TypedResult<IRange<IQuantity>>
GC_WINDOW
static TypedResult<IQuantity>
HEAP_SUMMARY_EVENTS
static TypedPreference<IQuantity>
WINDOW_SIZE
-
Fields inherited from class org.openjdk.jmc.flightrecorder.rules.AbstractRule
evaluationTask
-
-
Constructor Summary
Constructors Constructor Description GcFreedRatioRule()
-
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
-
WINDOW_SIZE
public static final TypedPreference<IQuantity> WINDOW_SIZE
-
FEW_GCS_LIMIT
public static final TypedPreference<IQuantity> FEW_GCS_LIMIT
-
HEAP_SUMMARY_EVENTS
public static final TypedResult<IQuantity> HEAP_SUMMARY_EVENTS
-
GC_FREED_RATIO
public static final TypedResult<IQuantity> GC_FREED_RATIO
-
GC_FREED_PER_SECOND
public static final TypedResult<IQuantity> GC_FREED_PER_SECOND
-
GC_WINDOW
public static final TypedResult<IRange<IQuantity>> GC_WINDOW
-
AVERAGE_LIVESET
public static final TypedResult<IQuantity> AVERAGE_LIVESET
-
-
Method Detail
-
getResult
protected IResult getResult(IItemCollection items, IPreferenceValueProvider vp, IResultValueProvider rp)
- Specified by:
getResult
in classAbstractRule
-
-