Class BiasedLockingRevocationRule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.latency.BiasedLockingRevocationRule
-
- All Implemented Interfaces:
IRule
public final class BiasedLockingRevocationRule extends java.lang.Object implements IRule
This rule is making use of the new dedicated biased locking revocation events available in JDK 10/18.3. It will fire whenever a class is excluded from biased lockings, or whenever there have been more than 15 revocations (can be configured) for a particular class.
-
-
Field Summary
Fields Modifier and Type Field Description static TypedCollectionResult<java.lang.String>FILTERED_TYPESstatic TypedPreference<IQuantity>MAX_NUMBER_OF_CLASSES_TO_REPORTstatic TypedCollectionResult<ClassEntry>REVOCATION_CLASSESstatic TypedCollectionResult<IMCType>REVOKED_TYPESstatic TypedPreference<IQuantity>WARNING_LIMIT
-
Constructor Summary
Constructors Constructor Description BiasedLockingRevocationRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.RunnableFuture<IResult>createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)java.util.Collection<TypedPreference<?>>getConfigurationAttributes()java.lang.StringgetId()java.lang.StringgetName()java.util.Map<java.lang.String,RulesToolkit.EventAvailability>getRequiredEvents()java.util.Collection<TypedResult<?>>getResults()java.lang.StringgetTopic()
-
-
-
Field Detail
-
WARNING_LIMIT
public static final TypedPreference<IQuantity> WARNING_LIMIT
-
MAX_NUMBER_OF_CLASSES_TO_REPORT
public static final TypedPreference<IQuantity> MAX_NUMBER_OF_CLASSES_TO_REPORT
-
REVOKED_TYPES
public static final TypedCollectionResult<IMCType> REVOKED_TYPES
-
REVOCATION_CLASSES
public static final TypedCollectionResult<ClassEntry> REVOCATION_CLASSES
-
FILTERED_TYPES
public static final TypedCollectionResult<java.lang.String> FILTERED_TYPES
-
-
Method Detail
-
createEvaluation
public java.util.concurrent.RunnableFuture<IResult> createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
- Specified by:
createEvaluationin interfaceIRule
-
getConfigurationAttributes
public java.util.Collection<TypedPreference<?>> getConfigurationAttributes()
- Specified by:
getConfigurationAttributesin interfaceIRule
-
getRequiredEvents
public java.util.Map<java.lang.String,RulesToolkit.EventAvailability> getRequiredEvents()
- Specified by:
getRequiredEventsin interfaceIRule
-
getResults
public java.util.Collection<TypedResult<?>> getResults()
- Specified by:
getResultsin interfaceIRule
-
-