Class GcFreedRatioRule
java.lang.Object
org.openjdk.jmc.flightrecorder.rules.AbstractRule
org.openjdk.jmc.flightrecorder.rules.jdk.memory.GcFreedRatioRule
- All Implemented Interfaces:
IRule
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
FieldsModifier and TypeFieldDescriptionstatic final TypedResult<org.openjdk.jmc.common.unit.IQuantity>
static final org.openjdk.jmc.common.util.TypedPreference<org.openjdk.jmc.common.unit.IQuantity>
static final TypedResult<org.openjdk.jmc.common.unit.IQuantity>
static final TypedResult<org.openjdk.jmc.common.unit.IQuantity>
static final TypedResult<org.openjdk.jmc.common.unit.IRange<org.openjdk.jmc.common.unit.IQuantity>>
static final TypedResult<org.openjdk.jmc.common.unit.IQuantity>
static final org.openjdk.jmc.common.util.TypedPreference<org.openjdk.jmc.common.unit.IQuantity>
Fields inherited from class org.openjdk.jmc.flightrecorder.rules.AbstractRule
evaluationTask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IResult
getResult
(org.openjdk.jmc.common.item.IItemCollection items, org.openjdk.jmc.common.util.IPreferenceValueProvider vp, IResultValueProvider rp) Methods inherited from class org.openjdk.jmc.flightrecorder.rules.AbstractRule
createEvaluation, getConfigurationAttributes, getId, getName, getRequiredEvents, getResults, getTopic
-
Field Details
-
WINDOW_SIZE
public static final org.openjdk.jmc.common.util.TypedPreference<org.openjdk.jmc.common.unit.IQuantity> WINDOW_SIZE -
FEW_GCS_LIMIT
public static final org.openjdk.jmc.common.util.TypedPreference<org.openjdk.jmc.common.unit.IQuantity> FEW_GCS_LIMIT -
HEAP_SUMMARY_EVENTS
-
GC_FREED_RATIO
-
GC_FREED_PER_SECOND
-
GC_WINDOW
public static final TypedResult<org.openjdk.jmc.common.unit.IRange<org.openjdk.jmc.common.unit.IQuantity>> GC_WINDOW -
AVERAGE_LIVESET
-
-
Constructor Details
-
GcFreedRatioRule
public GcFreedRatioRule()
-
-
Method Details
-
getResult
protected IResult getResult(org.openjdk.jmc.common.item.IItemCollection items, org.openjdk.jmc.common.util.IPreferenceValueProvider vp, IResultValueProvider rp) - Specified by:
getResult
in classAbstractRule
-