Modifier and Type | Class and Description |
---|---|
private static class |
ItemCollectionToolkit.StreamBackedItemCollection |
Modifier and Type | Field and Description |
---|---|
static IItemCollection |
ItemCollectionToolkit.EMPTY |
Modifier and Type | Method and Description |
---|---|
IItemCollection |
IItemCollection.apply(IItemFilter filter)
Creates a new item collection with all items in this collection that pass through the filter.
|
static IItemCollection |
ItemCollectionToolkit.build(java.util.stream.Stream<? extends IItem> items) |
(package private) static IItemCollection |
ItemCollectionToolkit.build(java.util.stream.Stream<? extends IItem> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
static IItemCollection |
ItemCollectionToolkit.build(java.util.function.Supplier<java.util.stream.Stream<IItemIterable>> items) |
static IItemCollection |
ItemCollectionToolkit.build(java.util.function.Supplier<java.util.stream.Stream<IItemIterable>> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
static IItemCollection |
ItemCollectionToolkit.filterIfNotNull(IItemCollection items,
IItemFilter filter) |
static IItemCollection |
ItemCollectionToolkit.merge(java.util.function.Supplier<java.util.stream.Stream<IItemCollection>> items) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<IItem> |
ItemToolkit.asIterable(IItemCollection items)
Deprecated.
|
static IItemCollection |
ItemCollectionToolkit.filterIfNotNull(IItemCollection items,
IItemFilter filter) |
static java.lang.String |
ItemCollectionToolkit.getDescription(IItemCollection items) |
static <T> T |
ItemToolkit.getFirstFound(IItemCollection items,
IAttribute<T> attribute)
Returns the value of the event first encountered with the attribute.
|
static <V> java.util.Optional<IItemIterable> |
ItemCollectionToolkit.join(IItemCollection items,
java.lang.String withTypeId) |
Modifier and Type | Method and Description |
---|---|
static IItemCollection |
ItemCollectionToolkit.merge(java.util.function.Supplier<java.util.stream.Stream<IItemCollection>> items) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
EventCollection
Implementation of
IItemCollection using IItemIterable iterators. |
Modifier and Type | Method and Description |
---|---|
(package private) static IItemCollection |
EventCollection.build(EventArrays events) |
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.io.File file)
Loads a potentially zipped or gzipped file using the parser extensions loaded from the java
service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.io.InputStream stream)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.io.InputStream stream,
java.util.List<? extends IParserExtension> extensions)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.util.List<java.io.File> files)
Loads a recording from a sequence of potentially zipped or gzipped files using the parser
extensions loaded from the java service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.util.List<java.io.File> files,
java.util.List<? extends IParserExtension> extensions)
Loads a recording from a sequence of potentially zipped or gzipped file using the supplied
parser extensions
|
Modifier and Type | Method and Description |
---|---|
void |
RecordingPrinter.print(IItemCollection events) |
Modifier and Type | Method and Description |
---|---|
static ReferenceTreeModel |
ReferenceTreeModel.buildReferenceTree(IItemCollection items)
Creates and returns a ReferenceTreeModel object that represents the total reference tree
created by Old Object Samples and their aggregated reference chains.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
AbstractRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
IRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults)
Gets a future representing the result of the evaluation of this rule.
|
protected abstract IResult |
AbstractRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
Modifier and Type | Method and Description |
---|---|
static SpanSquare |
SpanToolkit.getMaxCountCluster(IItemCollection items,
IAttribute<IQuantity> countAttribute,
IAttribute<IQuantity> timestampAttribute)
Calculates the largest count cluster.
|
static SpanSquare |
SpanToolkit.getMaxDurationCluster(IItemCollection items)
Calculates the largest duration cluster.
|
static SpanLimit |
SpanToolkit.getMaxSpanLimit(IItemCollection items,
IAttribute<IQuantity> valueAttribute,
IAttribute<IQuantity> endTimeAttribute,
double limit)
Calculates the longest span where the combined value still is above the limit.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
CodeCacheRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
CodeCacheRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private boolean |
CodeCacheRule.hasSegmentedCodeCache(IItemCollection items) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
HighJvmCpuRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ManyRunningProcessesRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
HighJvmCpuRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
ManyRunningProcessesRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
CompareCpuRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
Modifier and Type | Method and Description |
---|---|
static HaltsProvider.ApplicationHaltsInfoHolder |
HaltsProvider.calculateApplicationHaltsRatio(IItemCollection items)
Calculates the ratio of all application pauses to the total time.
|
static IQuantity |
HaltsProvider.calculateGcHaltsRatio(IItemCollection items,
IQuantity startTime,
IQuantity endTime)
Calculates the ratio of GC pauses to the total time.
|
static IQuantity |
HaltsProvider.calculateGcPauseRatio(IItemCollection items)
Calculates the ratio of GC pauses to the total time.
|
private static IQuantity |
HaltsProvider.calculateHaltsRatio(IItemCollection items,
IQuantity pauseTime,
IQuantity startTime,
IQuantity endTime) |
private static HaltsProvider.ApplicationHaltsInfoHolder |
HaltsProvider.calculateHaltsRatiosWithEncapsulationTree(IItemCollection items,
IQuantity startTime,
IQuantity endTime) |
private static IQuantity |
HaltsProvider.calculatePauseSum(IItemCollection items,
IItemFilter pauseFilter,
IQuantity startTime,
IQuantity endTime) |
private static IQuantity |
HaltsProvider.calculatePauseSumWithEncapsulationTree(IItemCollection items,
IItemFilter haltsFilter,
IQuantity startTime,
IQuantity endTime) |
private static IRange<IQuantity> |
HaltsProvider.createRange(IItemCollection items) |
Modifier and Type | Method and Description |
---|---|
private static IItemCollection |
FewSampledThreadsRule.getCpuItems(IItemCollection items) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.RunnableFuture<IResult> |
DiscouragedGcOptionsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
BufferLostRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
DuplicateFlagsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
DumpReasonRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ProcessStartedRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
PasswordsInEnvironmentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ClassLeakingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
PasswordsInSystemPropertiesRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ClassLoadingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
FlightRecordingSupportRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
OptionsCheckRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
RecordingSettingsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
DiscouragedVmOptionsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultValueProvider) |
java.util.concurrent.RunnableFuture<IResult> |
StackDepthSettingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
DMSIncidentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
PasswordsInArgumentsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ManagementAgentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
FastTimeRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
VerifyNoneRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
DebugNonSafepointsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
private java.util.Map<java.lang.String,ClassEntry> |
ClassLeakingRule.extractClassEntriesFromQuery(IItemCollection items,
IItemQuery query) |
private static IItemCollection |
FewSampledThreadsRule.getCpuItems(IItemCollection items) |
private static IQuantity |
FewSampledThreadsRule.getHardwareThreads(IItemCollection items) |
private IResult |
FewSampledThreadsRule.getIdleResult(IItemCollection items,
IQuantity minCpuRatio,
IQuantity windowSize,
int sampledThreads,
IPreferenceValueProvider vp) |
private IResult |
DiscouragedGcOptionsRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
BufferLostRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultValueProvider) |
protected IResult |
FewSampledThreadsRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider resultProvider) |
private IResult |
DuplicateFlagsRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
DumpReasonRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
ProcessStartedRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
PasswordsInEnvironmentRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
ClassLeakingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider dependencyResults) |
private IResult |
PasswordsInSystemPropertiesRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
ClassLoadingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider dependencyResults) |
private IResult |
FlightRecordingSupportRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
OptionsCheckRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
RecordingSettingsRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
DiscouragedVmOptionsRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
StackDepthSettingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
DMSIncidentRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
PasswordsInArgumentsRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
ManagementAgentRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
FastTimeRule.getResult(IItemCollection items,
IPreferenceValueProvider preferences,
IResultValueProvider results) |
private IResult |
VerifyNoneRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
DebugNonSafepointsRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Field and Description |
---|---|
private IItemCollection |
MethodProfilingRule.MethodProfilingCallable.items |
Modifier and Type | Method and Description |
---|---|
private static long |
ContextSwitchRule.calculateSwitchRate(IItemCollection switchItems) |
java.util.concurrent.RunnableFuture<IResult> |
JavaBlockingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
VMOperationRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
java.util.concurrent.RunnableFuture<IResult> |
BiasedLockingRevocationPauseRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
MethodProfilingRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
ContextSwitchRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
BiasedLockingRevocationRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
ContextSwitchRule.evaluate(IItemCollection items,
IPreferenceValueProvider vp) |
private IResult |
VMOperationRule.evaluate(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private java.util.Map<IMCType,ClassEntry> |
BiasedLockingRevocationRule.extractRevocations(IItemCollection revokationEvents,
IItemFilter filter,
IAttribute<IMCType> classAttribute) |
private Pair<IItem,IQuantity> |
VMOperationRule.findLongestEventInfo(IItemCollection items) |
private static long |
ContextSwitchRule.getMostBlocks(IItemCollection items) |
private IResult |
JavaBlockingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
BiasedLockingRevocationPauseRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
BiasedLockingRevocationRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
MethodProfilingRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider,
java.util.concurrent.FutureTask<IResult> evaluationTask) |
private void |
MethodProfilingRule.populateSettingsMap(IItemCollection items,
MethodProfilingRule.PeriodRangeMap settings)
Populates the settings map with all the period settings for the execution sample event found
in this recording.
|
private java.util.List<IItem> |
VMOperationRule.sortEventsByStartTime(IItemCollection items) |
Constructor and Description |
---|
MethodProfilingCallable(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Method and Description |
---|---|
private static SpanSquare |
HighGcRule.calculateLongestGcCluster(IItemCollection items) |
java.util.concurrent.RunnableFuture<IResult> |
TlabAllocationRatioRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HighGcRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
LowOnPhysicalMemoryRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
IncreasingMetaspaceLiveSetRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
LongGcPauseRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
MetaspaceOomRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
AllocationByThreadRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
GcStallRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
CompressedOopsRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HeapDumpRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
GcLockerRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
AllocationByClassRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HeapInspectionRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
SystemGcRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
GarbageCollectionInfoRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults) |
java.util.concurrent.RunnableFuture<IResult> |
FullGcRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
HeapContentRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
java.util.concurrent.RunnableFuture<IResult> |
IncreasingLiveSetRule.createEvaluation(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
StringDeduplicationRule.getAllocationRatioResult(IItemCollection items,
java.lang.String stringInternalArrayType,
IItemFilter stringInternalArrayTypeFilter,
IQuantity stringAllocationRatioLimit,
java.lang.String allocationFramesString,
java.lang.String heapInfo,
IQuantity heapUsedRatio,
java.lang.String extraGcInfo,
IPreferenceValueProvider vp) |
private static java.lang.String |
LongGcPauseRule.getCollectorMessage(IItemCollection items) |
private IResult |
HeapInspectionRule.getHeapInspectionResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
StringDeduplicationRule.getLiveSetRatioResult(IItemCollection items,
java.lang.String stringInternalArrayType,
IItemFilter stringInternalArrayTypeFilter,
IQuantity averageStringSize,
IQuantity stringLivesetRatioAndHeapUsageLimit,
java.lang.String objectCountEventType,
java.lang.String heapInfo,
IQuantity heapUsedRatio,
java.lang.String extraGcInfo,
IPreferenceValueProvider vp) |
private GcFreedRatioRule.GcInfoHolder |
GcFreedRatioRule.getMaxFreedWindow(IItemCollection allItems,
IQuantity windowSize,
IQuantity slideSize) |
static CollectorType |
CollectorType.getOldCollectorType(IItemCollection items) |
private IQuantity |
IncreasingLiveSetRule.getPostWarmupTime(IItemCollection items,
IQuantity classesLoadedPercent) |
private IResult |
TlabAllocationRatioRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
HighGcRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
LowOnPhysicalMemoryRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
IncreasingMetaspaceLiveSetRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
LongGcPauseRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
MetaspaceOomRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
GcPauseRatioRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
AllocationByThreadRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
GcFreedRatioRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
ApplicationHaltsRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
protected IResult |
AutoBoxingRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
CompressedOopsRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
HeapDumpRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
protected IResult |
StringDeduplicationRule.getResult(IItemCollection items,
IPreferenceValueProvider vp,
IResultValueProvider rp) |
private IResult |
GcLockerRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
AllocationByClassRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
HeapContentRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private IResult |
IncreasingLiveSetRule.getResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
private static java.lang.String |
LongGcPauseRule.getSemiRefsMessage(IItemCollection items) |
private IResult |
SystemGcRule.getSystemGcResult(IItemCollection items,
IPreferenceValueProvider valueProvider,
IResultValueProvider resultProvider) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
SingleEntryItemCollection
Implementation helper class for handling a singular
IItem as an IItemCollection . |
Modifier and Type | Field and Description |
---|---|
private static IItemCollection |
SingleEntryItemCollection.NULLCOLLECTION |
Modifier and Type | Method and Description |
---|---|
IItemCollection |
SingleEntryItemCollection.apply(IItemFilter filter) |
Modifier and Type | Method and Description |
---|---|
private void |
DefaultIItemResultSet.calculateData(IItemCollection input) |
IItemResultSet |
ItemResultSetFactory.createResultSet(IItemCollection items,
IItemQuery query) |
private static java.lang.Object |
DefaultIItemResultSet.getFirstNonNull(IItemCollection items,
IAttribute<?> attribute)
Returns the first encountered non-null attribute value, or null if no non-null value could be
found.
|
Constructor and Description |
---|
DefaultIItemResultSet(IItemCollection items,
IItemQuery query) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
JfrHtmlRulesReport.createReport(IItemCollection events)
Create an HTML report from the provided IItemCollection
|
Modifier and Type | Method and Description |
---|---|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants,
boolean ignoreThread)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants,
boolean ignoreThread,
ItemTreeBuilder.IItemTreeBuilderCallback callback)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<MapToolkit.IntEntry<T>> |
RulesToolkit.calculateGroupingScore(IItemCollection items,
IAccessorFactory<T> accessorFactory)
Each group is represented by the number of elements that belong in that group, elements are
grouped by accessor value.
|
static TimeRangeThreadFilter |
RulesToolkit.createThreadsAndRangesFilter(IItemCollection items)
Creates a thread and range filter for a set of related events.
|
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.
|
static java.lang.String |
RulesToolkit.findMatches(java.lang.String typeId,
IItemCollection items,
IAttribute<java.lang.String> attribute,
java.lang.String match,
boolean ignoreCase)
Finds items of a specific type where the given attribute has a value matching that of the
provided match string.
|
private static java.util.Set<java.lang.String> |
RulesToolkit.getAvailableTypeIds(IItemCollection items) |
private static java.lang.String |
RulesToolkit.getDisabledEventTypeNames(IItemCollection items,
java.lang.String... typeIds) |
static IQuantity |
RulesToolkit.getEarliestEndTime(IItemCollection items)
Returns the earliest end time in the provided item collection.
|
static IQuantity |
RulesToolkit.getEarliestStartTime(IItemCollection items)
Returns the earliest start time in the provided item collection.
|
static java.lang.String |
RulesToolkit.getEnabledEventTypesRecommendation(IItemCollection items,
java.lang.String... typeIds)
Creates a text message informing that event types are recommended
|
static RulesToolkit.EventAvailability |
RulesToolkit.getEventAvailability(IItemCollection items,
java.lang.String... typeIds)
Checks the event availability for the event types.
|
private static java.lang.String |
RulesToolkit.getEventTypeNames(IItemCollection items) |
static java.util.Map<java.lang.String,java.lang.String> |
RulesToolkit.getFlightRecorderOptions(IItemCollection items)
Convenience method for parsing the -XX:FlightRecorderOptions JVM flag.
|
private static IQuantity |
RulesToolkit.getItemRange(IItemCollection items) |
static JavaVersion |
RulesToolkit.getJavaSpecVersion(IItemCollection items)
Gets the Java version for the recording the provided
IItemCollection represents. |
static JavaVersion |
RulesToolkit.getJavaVersion(IItemCollection items) |
static IQuantity |
RulesToolkit.getLatestEndTime(IItemCollection items)
Returns the latest end time in the provided item collection.
|
static java.lang.String |
RulesToolkit.getPeriodIfGreaterThan(IItemCollection items,
IQuantity minPeriod,
java.lang.String... typeIds)
If possible, gets the longest period setting that is longer than the specified minimum period
for the given event types.
|
private static java.util.Set<java.lang.String> |
RulesToolkit.getPeriodSettings(IItemCollection items,
java.lang.String... typeIds) |
static java.lang.String |
RulesToolkit.getSecondFrameInMostCommonTrace(IItemCollection items)
Gets the second frame in the most common stack trace.
|
static IQuantity |
RulesToolkit.getSettingMaxPeriod(IItemCollection items,
java.lang.String... typeIds)
Gets the maximum period setting for the specified event types in the given item collection.
|
static java.lang.String |
RulesToolkit.getShortRecordingInfo(IItemCollection items,
IQuantity shortRecordingLimit)
Checks if the timerange spanned by the items is shorter than the limit, and returns a
informative text message if that is the case.
|
static IType<IItem> |
RulesToolkit.getType(IItemCollection items,
java.lang.String typeId)
Gets the
IType representation of a specific event type in an IItemCollection . |
static java.lang.String |
RulesToolkit.getTypesWithZeroThreshold(IItemCollection items,
java.lang.String... typeIds)
Returns a string describing the subset of event types given which have no duration threshold
set.
|
V |
SlidingWindowToolkit.IUnorderedWindowValueFunction.getValue(IItemCollection items,
IQuantity startTime,
IQuantity endTime) |
private static boolean |
RulesToolkit.hasEvents(IItemCollection items,
java.lang.String... typeIds)
Returns true if precisely all of the event types have events.
|
private static boolean |
RulesToolkit.internalHasEvents(IItemCollection items,
java.lang.String typeId) |
private static boolean |
RulesToolkit.isEventsDisabled(IItemCollection items,
java.lang.String... typeIds)
This method checks if the provided event types were explicitly disabled by checking the
recording setting events.
|
static boolean |
RulesToolkit.isEventsEnabled(IItemCollection items,
java.lang.String... typeIds)
This method checks if the provided event types were explicitly enabled by checking the
recording setting events.
|
private static boolean |
RulesToolkit.isEventsKnown(IItemCollection items,
java.lang.String... typeIds)
Checks if the event types are known in the collection.
|
static boolean |
RulesToolkit.matchesEventAvailabilityMap(IItemCollection items,
java.util.Map<java.lang.String,RulesToolkit.EventAvailability> availabilityMap) |
static void |
SlidingWindowToolkit.slidingWindowUnordered(SlidingWindowToolkit.IUnorderedWindowVisitor callback,
IItemCollection items,
IQuantity windowSize,
IQuantity slideSize)
Runs a sliding window through all items, by calculating the window start and end and filter
through all the items.
|
static void |
SlidingWindowToolkit.slidingWindowUnordered(SlidingWindowToolkit.IUnorderedWindowVisitor callback,
IItemCollection items,
IQuantity windowSize,
IQuantity slideSize,
boolean includeIntersecting)
Runs a sliding window through all items, by calculating the window start and end and filter
through all the items.
|
static Pair<IQuantity,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> valueFunction,
boolean max,
boolean includeIntersecting)
Calculates max/min window quantity value of items.
|
static <V> Pair<V,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
java.util.Comparator<V> valueComparator,
boolean max,
boolean includeIntersecting)
Calculates max/min window value of items.
|
static Pair<IQuantity,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
IQuantity slideSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<IQuantity> valueFunction,
boolean max,
boolean includeIntersecting)
Calculates max/min window quantity value of items.
|
static <V> Pair<V,IRange<IQuantity>> |
SlidingWindowToolkit.slidingWindowUnorderedMinMaxValue(IItemCollection items,
IQuantity windowSize,
IQuantity slideSize,
java.util.concurrent.FutureTask<IResult> cancellationSupplier,
SlidingWindowToolkit.IUnorderedWindowValueFunction<V> valueFunction,
java.util.Comparator<V> valueComparator,
boolean max,
boolean includeIntersecting)
Calculates max/min window value of items.
|
void |
SlidingWindowToolkit.IUnorderedWindowVisitor.visitWindow(IItemCollection items,
IQuantity startTime,
IQuantity endTime) |
Modifier and Type | Field and Description |
---|---|
private IItemCollection |
StacktraceModel.items |
Constructor and Description |
---|
StacktraceModel(boolean threadRootAtTop,
FrameSeparator frameSeparator,
IItemCollection items) |
Modifier and Type | Field and Description |
---|---|
private IItemCollection |
StacktraceGraphModel.items |
Modifier and Type | Method and Description |
---|---|
IItemCollection |
StacktraceGraphModel.getItems() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
GraphModelUtils.getTypeNames(IItemCollection items) |
Constructor and Description |
---|
StacktraceGraphModel(FrameSeparator frameSeparator,
IItemCollection items,
IAttribute<IQuantity> attribute)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
private IItemCollection |
StacktraceTreeModel.items |
Modifier and Type | Method and Description |
---|---|
IItemCollection |
StacktraceTreeModel.getItems() |
Constructor and Description |
---|
StacktraceTreeModel(IItemCollection items)
Builds a StacktraceTreeModel from a given collection of events with defaults: frame separator
METHOD, the thread root at the top and no value attribute (uses counts).
|
StacktraceTreeModel(IItemCollection items,
FrameSeparator frameSeparator)
Builds a StacktraceTreeModel from a given collection of events with defaults: the thread root
at the top and no value attribute (uses counts).
|
StacktraceTreeModel(IItemCollection items,
FrameSeparator frameSeparator,
boolean invertedStacks)
Builds a StacktraceTreeModel from a given collection of events with no attribute specified
(uses occurrences to determine node weight).
|
StacktraceTreeModel(IItemCollection items,
FrameSeparator frameSeparator,
boolean invertedStacks,
IAttribute<IQuantity> attribute)
Builds a StacktraceTreeModel from a given collection of events.
|