Class BiasedLockingRevocationRule
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.latency.BiasedLockingRevocationRule
-
- All Implemented Interfaces:
IRule
public final class BiasedLockingRevocationRule extends 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<String>
FILTERED_TYPES
static TypedPreference<IQuantity>
MAX_NUMBER_OF_CLASSES_TO_REPORT
static TypedCollectionResult<ClassEntry>
REVOCATION_CLASSES
static TypedCollectionResult<IMCType>
REVOKED_CLASSES
static TypedPreference<IQuantity>
WARNING_LIMIT
-
Constructor Summary
Constructors Constructor Description BiasedLockingRevocationRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunnableFuture<IResult>
createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
Collection<TypedPreference<?>>
getConfigurationAttributes()
String
getId()
String
getName()
Map<String,RulesToolkit.EventAvailability>
getRequiredEvents()
Collection<TypedResult<?>>
getResults()
String
getTopic()
-
-
-
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_CLASSES
public static final TypedCollectionResult<IMCType> REVOKED_CLASSES
-
REVOCATION_CLASSES
public static final TypedCollectionResult<ClassEntry> REVOCATION_CLASSES
-
FILTERED_TYPES
public static final TypedCollectionResult<String> FILTERED_TYPES
-
-
Method Detail
-
createEvaluation
public RunnableFuture<IResult> createEvaluation(IItemCollection items, IPreferenceValueProvider valueProvider, IResultValueProvider resultProvider)
- Specified by:
createEvaluation
in interfaceIRule
-
getConfigurationAttributes
public Collection<TypedPreference<?>> getConfigurationAttributes()
- Specified by:
getConfigurationAttributes
in interfaceIRule
-
getRequiredEvents
public Map<String,RulesToolkit.EventAvailability> getRequiredEvents()
- Specified by:
getRequiredEvents
in interfaceIRule
-
getResults
public Collection<TypedResult<?>> getResults()
- Specified by:
getResults
in interfaceIRule
-
-