Package | Description |
---|---|
org.openjdk.jmc.flightrecorder.rules |
This package contains interfaces and classes for working with Rules and RuleResults.
|
org.openjdk.jmc.flightrecorder.rules.internal | |
org.openjdk.jmc.flightrecorder.rules.jdk.compilation | |
org.openjdk.jmc.flightrecorder.rules.jdk.cpu | |
org.openjdk.jmc.flightrecorder.rules.jdk.exceptions | |
org.openjdk.jmc.flightrecorder.rules.jdk.general | |
org.openjdk.jmc.flightrecorder.rules.jdk.io | |
org.openjdk.jmc.flightrecorder.rules.jdk.latency | |
org.openjdk.jmc.flightrecorder.rules.jdk.memory | |
org.openjdk.jmc.flightrecorder.rules.report | |
org.openjdk.jmc.flightrecorder.rules.util |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRule
Abstract base class for rules, supplying some boiler plate code.
|
Modifier and Type | Field and Description |
---|---|
private IRule |
RuleRegistry.Vertex.rule |
private IRule |
ResultBuilder.rule |
private IRule |
ResultBuilder.Result.rule |
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<IRule> |
RuleRegistry.RULES |
private java.util.Map<IRule,RuleRegistry.Vertex> |
RuleRegistry.Graph.vertices |
Modifier and Type | Method and Description |
---|---|
IRule |
ResultBuilder.Result.getRule() |
IRule |
IResult.getRule()
Returns the
IRule that generated this result object. |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<IRule> |
RuleRegistry.getRules() |
(package private) java.util.Collection<IRule> |
RuleRegistry.Graph.getTopologicalOrder() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
RuleRegistry.Graph.addDependency(IRule dependee,
IRule depender) |
(package private) void |
RuleRegistry.Graph.addVertex(IRule rule) |
static ResultBuilder |
ResultBuilder.createFor(IRule rule,
IPreferenceValueProvider preferenceProvider) |
private static TypedPreference<?> |
ResultToolkit.getPreferenceById(IRule rule,
java.lang.String identifier) |
private static TypedResult<?> |
ResultToolkit.getResultById(IRule rule,
java.lang.String identifier) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
RuleRegistry.Graph.visit(RuleRegistry.Vertex vertex,
java.util.List<IRule> orderedList) |
Constructor and Description |
---|
Result(Severity severity,
IRule rule,
java.lang.String summary,
java.lang.String explanation,
java.lang.String solution,
java.util.Collection<IRecordingSetting> suggestedRecordingSettings,
java.util.Map<TypedResult<?>,java.lang.Object> resultMap,
java.util.Map<TypedResult<?>,java.util.Collection<?>> collectionResultMap,
java.util.Map<TypedPreference<?>,java.lang.Object> preferenceMap) |
ResultBuilder(IRule rule,
IPreferenceValueProvider preferenceProvider) |
Vertex(IRule rule) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IRule> |
IRuleProvider.getRules() |
Modifier and Type | Class and Description |
---|---|
class |
CodeCacheRule |
Modifier and Type | Class and Description |
---|---|
class |
CompareCpuRule |
class |
HighJvmCpuRule |
class |
ManyRunningProcessesRule |
Modifier and Type | Class and Description |
---|---|
class |
ErrorRule |
class |
ExceptionRule |
class |
FatalErrorRule |
class |
LuceneVersionRule |
Modifier and Type | Class and Description |
---|---|
class |
BufferLostRule |
class |
ClassLeakingRule
This rule looks at the loaded classes to try to figure out if multiple classes with the same name
has been loaded.
|
class |
ClassLoadingRule |
class |
DebugNonSafepointsRule |
class |
DiscouragedGcOptionsRule |
class |
DiscouragedVmOptionsRule |
class |
DMSIncidentRule |
class |
DumpReasonRule |
class |
DuplicateFlagsRule |
class |
FastTimeRule |
class |
FewSampledThreadsRule |
class |
FlightRecordingSupportRule |
class |
ManagementAgentRule |
class |
OptionsCheckRule
Check that used command line options are:
Not on a list of known not recommended options/values
Not deprecated (also check Java versions later than the one currently used)
Documented
Warn for any detected options that do not fulfill these criteria.
|
class |
PasswordsInArgumentsRule |
class |
PasswordsInEnvironmentRule |
class |
PasswordsInSystemPropertiesRule |
class |
ProcessStartedRule |
class |
RecordingSettingsRule |
class |
StackDepthSettingRule |
class |
VerifyNoneRule |
Modifier and Type | Class and Description |
---|---|
class |
FileReadRule |
class |
FileWriteRule |
class |
SocketReadRule |
class |
SocketWriteRule |
Modifier and Type | Class and Description |
---|---|
class |
BiasedLockingRevocationPauseRule |
class |
BiasedLockingRevocationRule
This rule is making use of the new dedicated biased locking revocation events available in JDK
10/18.3.
|
class |
ContextSwitchRule |
class |
JavaBlockingRule |
class |
MethodProfilingRule
Rule that calculates the top method balance in a sliding window throughout the recording with a
relevance calculated by the ratio of samples to maximum samples for that period.
|
class |
VMOperationRule |
Modifier and Type | Class and Description |
---|---|
class |
AllocationByClassRule |
class |
AllocationByThreadRule |
class |
ApplicationHaltsRule |
class |
AutoBoxingRule
Rule that checks how much of the total allocation is caused by possible primitive to object
conversion.
|
class |
CompressedOopsRule |
class |
FullGcRule |
class |
GarbageCollectionInfoRule |
class |
GcFreedRatioRule
Rule that checks how much memory was freed per second, and compares that to the liveset.
|
class |
GcLockerRule |
class |
GcPauseRatioRule |
class |
GcStallRule |
class |
HeapContentRule |
class |
HeapDumpRule |
class |
HeapInspectionRule |
class |
HighGcRule |
class |
IncreasingLiveSetRule |
class |
IncreasingMetaspaceLiveSetRule |
class |
LongGcPauseRule |
class |
LowOnPhysicalMemoryRule |
class |
MetaspaceOomRule |
class |
StringDeduplicationRule
Intent of this rule is to find out if it would be worth enabling string deduplication.
|
class |
SystemGcRule |
class |
TlabAllocationRatioRule |
Modifier and Type | Method and Description |
---|---|
private static org.w3c.dom.Element |
JfrRulesReport.createRuleNode(org.w3c.dom.Element parent,
org.w3c.dom.Element reportNode,
IRule rule) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<IRule,java.util.concurrent.Future<IResult>> |
RulesToolkit.evaluateParallel(java.util.Collection<IRule> rules,
IItemCollection items,
IPreferenceValueProvider preferences,
int nThreads)
Evaluates a collection of rules in parallel threads.
|
Modifier and Type | Method and Description |
---|---|
static IResult |
RulesToolkit.getMissingAttributeResult(IRule rule,
IType<IItem> type,
IAttribute<?> attribute,
IPreferenceValueProvider vp)
Gets a
IResult object representing a not applicable result due to a missing
attribute. |
static IResult |
RulesToolkit.getNotApplicableResult(IRule rule,
IPreferenceValueProvider vp,
java.lang.String message)
Creates a
IResult object with a generic not applicable (N/A) result for a given rule
with a specified message. |
private static IResult |
RulesToolkit.getNotApplicableResult(IRule rule,
IPreferenceValueProvider vp,
java.lang.String shortMessage,
java.lang.String longMessage)
Creates a
IResult object with a generic not applicable (N/A) result for a given rule
with a specified message. |
static IResult |
RulesToolkit.getTooFewEventsResult(IRule rule,
IPreferenceValueProvider vp)
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<IRule,java.util.concurrent.Future<IResult>> |
RulesToolkit.evaluateParallel(java.util.Collection<IRule> rules,
IItemCollection items,
IPreferenceValueProvider preferences,
int nThreads)
Evaluates a collection of rules in parallel threads.
|