Uses of Interface
org.openjdk.jmc.common.item.IItemCollection
-
-
Uses of IItemCollection in org.openjdk.jmc.common.item
Methods in org.openjdk.jmc.common.item that return IItemCollection Modifier and Type Method Description IItemCollection
IItemCollection. apply(IItemFilter filter)
Creates a new item collection with all items in this collection that pass through the filter.Methods in org.openjdk.jmc.common.item with parameters of type IItemCollection Modifier and Type Method Description static java.lang.Iterable<IItem>
ItemToolkit. asIterable(IItemCollection items)
Deprecated.static <T> T
ItemToolkit. getFirstFound(IItemCollection items, IAttribute<T> attribute)
Returns the value of the event first encountered with the attribute. -
Uses of IItemCollection in org.openjdk.jmc.flightrecorder
Classes in org.openjdk.jmc.flightrecorder that implement IItemCollection Modifier and Type Class Description (package private) class
EventCollection
Java 1.7 based implementation ofIItemCollection
usingIItemIterable
iterators.Methods in org.openjdk.jmc.flightrecorder that return IItemCollection Modifier and Type Method Description (package private) static IItemCollection
EventCollection. build(EventArray[] 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 loaderstatic IItemCollection
JfrLoaderToolkit. loadEvents(java.io.InputStream stream)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from the java service loaderstatic 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 loaderstatic 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 loaderstatic 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 extensionsMethods in org.openjdk.jmc.flightrecorder with parameters of type IItemCollection Modifier and Type Method Description void
RecordingPrinter. print(IItemCollection events)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.memleak
Methods in org.openjdk.jmc.flightrecorder.memleak with parameters of type IItemCollection Modifier and Type Method 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. -
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules
Methods in org.openjdk.jmc.flightrecorder.rules with parameters of type IItemCollection Modifier and Type Method Description java.util.concurrent.RunnableFuture<Result>
AbstractRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
IRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
Gets a future representing the result of the evaluation of this rule.protected abstract Result
AbstractRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.combine
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.combine with parameters of type IItemCollection Modifier and Type Method 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. -
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.compilation
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.compilation with parameters of type IItemCollection Modifier and Type Method Description java.util.concurrent.RunnableFuture<Result>
CodeCacheRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
CodeCacheRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private boolean
CodeCacheRule. hasSegmentedCodeCache(IItemCollection items)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.cpu
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.cpu with parameters of type IItemCollection Modifier and Type Method Description java.util.concurrent.RunnableFuture<Result>
HighJvmCpuRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
ManyRunningProcessesRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
protected Result
CompareCpuRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
HighJvmCpuRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
ManyRunningProcessesRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders with parameters of type IItemCollection Modifier and Type Method 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)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.exceptions
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.exceptions with parameters of type IItemCollection Modifier and Type Method Description java.util.concurrent.RunnableFuture<Result>
ErrorRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
ExceptionRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
FatalErrorRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
ErrorRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
ExceptionRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
FatalErrorRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.general
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.general that return IItemCollection Modifier and Type Method Description private static IItemCollection
FewSampledThreadsRule. getCpuItems(IItemCollection items)
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.general with parameters of type IItemCollection Modifier and Type Method Description private Result
FewSampledThreadsRule. calculateResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
FewSampledThreadsRule. checkAvailability(IItemCollection items)
java.util.concurrent.RunnableFuture<Result>
BufferLostRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
ClassLeakingRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
ClassLoadingRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
DebugNonSafepointsRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
DiscouragedGcOptionsRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
DiscouragedVmOptionsRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
DMSIncidentRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
DumpReasonRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
DuplicateFlagsRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
FlightRecordingSupportRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
ManagementAgentRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
OptionsCheckRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
PasswordsInArgumentsRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
PasswordsInEnvironmentRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
PasswordsInSystemPropertiesRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
RecordingSettingsRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
StackDepthSettingRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
VerifyNoneRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
private java.util.Map<java.lang.String,ClassEntry>
ClassLeakingRule. extractClassEntriesFromQuery(IItemCollection items, IItemQuery query)
private static IItemCollection
FewSampledThreadsRule. getCpuItems(IItemCollection items)
private static java.lang.String
FewSampledThreadsRule. getExtraTypesInfo(IItemCollection items)
private static IQuantity
FewSampledThreadsRule. getHardwareThreads(IItemCollection items)
private Result
FewSampledThreadsRule. getIdleResult(IItemCollection items, IQuantity minCpuRatio, IQuantity windowSize, int sampledThreads)
private Result
BufferLostRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
ClassLeakingRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
ClassLoadingRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
DebugNonSafepointsRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
DiscouragedGcOptionsRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
DiscouragedVmOptionsRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
DMSIncidentRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
DumpReasonRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
DuplicateFlagsRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
protected Result
FewSampledThreadsRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
FlightRecordingSupportRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
ManagementAgentRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
OptionsCheckRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
PasswordsInArgumentsRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
PasswordsInEnvironmentRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
PasswordsInSystemPropertiesRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
RecordingSettingsRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
StackDepthSettingRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
VerifyNoneRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
FlightRecordingSupportRule. getTimeConversionResult(IItemCollection items)
private java.util.Map<java.lang.String,java.lang.Integer>
StackDepthSettingRule. getTraceCount(IItemCollection items)
private Result
FlightRecordingSupportRule. getVersionResult(IItemCollection items)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.io
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.io with parameters of type IItemCollection Modifier and Type Method Description java.util.concurrent.RunnableFuture<Result>
FileReadRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
FileWriteRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
SocketReadRule. evaluate(IItemCollection items, IQuantity infoLimit, IQuantity warningLimit)
java.util.concurrent.RunnableFuture<Result>
SocketReadRule. evaluate(IItemCollection items, IPreferenceValueProvider vp)
private Result
SocketWriteRule. evaluate(IItemCollection items, IQuantity infoLimit, IQuantity warningLimit)
java.util.concurrent.RunnableFuture<Result>
SocketWriteRule. evaluate(IItemCollection items, IPreferenceValueProvider vp)
private Result
FileReadRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
FileWriteRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.latency
Fields in org.openjdk.jmc.flightrecorder.rules.jdk.latency declared as IItemCollection Modifier and Type Field Description private IItemCollection
MethodProfilingRule.MethodProfilingCallable. items
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.latency with parameters of type IItemCollection Modifier and Type Method Description private static long
ContextSwitchRule. calculateSwitchRate(IItemCollection switchItems)
java.util.concurrent.RunnableFuture<Result>
BiasedLockingRevocationPauseRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
BiasedLockingRevocationRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
ContextSwitchRule. evaluate(IItemCollection items, long switchRateLimit)
java.util.concurrent.RunnableFuture<Result>
ContextSwitchRule. evaluate(IItemCollection items, IPreferenceValueProvider vp)
java.util.concurrent.RunnableFuture<Result>
JavaBlockingRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
MethodProfilingRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
VMOperationRule. evaluate(IItemCollection items, IQuantity warningLimit)
java.util.concurrent.RunnableFuture<Result>
VMOperationRule. evaluate(IItemCollection items, IPreferenceValueProvider vp)
private java.util.Map<IMCType,ClassEntry>
BiasedLockingRevocationRule. extractRevocations(IItemCollection revokationEvents, IItemFilter filter, IAttribute<IMCType> classAttribute)
private static long
ContextSwitchRule. getMostBlocks(IItemCollection items)
private Result
BiasedLockingRevocationPauseRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
BiasedLockingRevocationRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
JavaBlockingRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
MethodProfilingRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider, java.util.concurrent.FutureTask<Result> 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.Constructors in org.openjdk.jmc.flightrecorder.rules.jdk.latency with parameters of type IItemCollection Constructor Description MethodProfilingCallable(IItemCollection items, IPreferenceValueProvider valueProvider)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.memory
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.memory with parameters of type IItemCollection Modifier and Type Method Description private static SpanSquare
HighGcRule. calculateLongestGcCluster(IItemCollection items)
java.util.concurrent.RunnableFuture<Result>
AllocationByClassRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
AllocationByThreadRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
CompressedOopsRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
FullGcRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
GcLockerRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
GcStallRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
HeapContentRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
HeapInspectionRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
HighGcRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
IncreasingLiveSetRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
IncreasingMetaspaceLiveSetRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
LongGcPauseRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
LowOnPhysicalMemoryRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
MetaspaceOomRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
SystemGcRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
java.util.concurrent.RunnableFuture<Result>
TlabAllocationRatioRule. evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
StringDeduplicationRule. getAllocationRatioResult(IItemCollection items, java.lang.String stringInternalArrayType, IItemFilter stringInternalArrayTypeFilter, IQuantity stringAllocationRatioLimit, java.lang.String allocationFramesString, java.lang.String heapInfo, double heapUsedRatio, java.lang.String extraGcInfo)
private static java.lang.String
LongGcPauseRule. getCollectorMessage(IItemCollection items)
private Result
GcStallRule. getGcStallResult(boolean nonRequestedSerialOldGc, IItemCollection items)
private Result
HeapInspectionRule. getHeapInspectionResult(int objectCountGCs, IItemCollection items, IQuantity limit)
private static java.lang.String
LongGcPauseRule. getLivesetMessage(IItemCollection items)
private Result
StringDeduplicationRule. getLivesetRatioResult(IItemCollection items, java.lang.String stringInternalArrayType, IItemFilter stringInternalArrayTypeFilter, IQuantity averageStringSize, IQuantity stringLivesetRatioAndHeapUsageLimit, java.lang.String objectCountEventType, java.lang.String heapInfo, double heapUsedRatio, java.lang.String extraGcInfo)
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 Result
AllocationByClassRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
AllocationByThreadRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
protected Result
ApplicationHaltsRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
protected Result
AutoBoxingRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
CompressedOopsRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
protected Result
GcFreedRatioRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
GcLockerRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
protected Result
GcPauseRatioRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
HeapContentRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
HighGcRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
IncreasingLiveSetRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
IncreasingMetaspaceLiveSetRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
LongGcPauseRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
LowOnPhysicalMemoryRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private Result
MetaspaceOomRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
protected Result
StringDeduplicationRule. getResult(IItemCollection items, IPreferenceValueProvider vp)
private Result
TlabAllocationRatioRule. getResult(IItemCollection items, IPreferenceValueProvider valueProvider)
private static java.lang.String
LongGcPauseRule. getSemiRefsMessage(IItemCollection items)
private boolean
FullGcRule. hasAvailableEvents(IItemCollection items, java.lang.String[] eventTypes)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.jdk.util
Classes in org.openjdk.jmc.flightrecorder.rules.jdk.util that implement IItemCollection Modifier and Type Class Description (package private) class
SingleEntryItemCollection
Implementation helper class for handling a singularIItem
as anIItemCollection
.Fields in org.openjdk.jmc.flightrecorder.rules.jdk.util declared as IItemCollection Modifier and Type Field Description private static IItemCollection
SingleEntryItemCollection. NULLCOLLECTION
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.util that return IItemCollection Modifier and Type Method Description IItemCollection
SingleEntryItemCollection. apply(IItemFilter filter)
Methods in org.openjdk.jmc.flightrecorder.rules.jdk.util with parameters of type IItemCollection Modifier and Type Method 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.Constructors in org.openjdk.jmc.flightrecorder.rules.jdk.util with parameters of type IItemCollection Constructor Description DefaultIItemResultSet(IItemCollection items, IItemQuery query)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.report.html
Methods in org.openjdk.jmc.flightrecorder.rules.report.html with parameters of type IItemCollection Modifier and Type Method Description static java.lang.String
JfrHtmlRulesReport. createReport(IItemCollection events)
Create an HTML report from the provided IItemCollection -
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.tree
Methods in org.openjdk.jmc.flightrecorder.rules.tree with parameters of type IItemCollection Modifier and Type Method 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. -
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.rules.util
Methods in org.openjdk.jmc.flightrecorder.rules.util with parameters of type IItemCollection Modifier and Type Method 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<Result>>
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 java.lang.String
RulesToolkit. getEnabledEventTypesRecommendation(IItemCollection items, java.lang.String... typeIds)
Creates a text message informing that event types are recommendedstatic RulesToolkit.EventAvailability
RulesToolkit. getEventAvailability(IItemCollection items, java.lang.String... typeIds)
Checks the event availability for the event types.static Result
RulesToolkit. getEventAvailabilityResult(IRule rule, IItemCollection items, RulesToolkit.EventAvailability eventAvailability, java.lang.String... typeIds)
Returns a proper result for the availability problem.private static java.lang.String
RulesToolkit. getEventTypeNames(IItemCollection items)
private static java.lang.String
RulesToolkit. getEventTypeNames(IItemCollection items, java.lang.String... typeIds)
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 providedIItemCollection
represents.static JavaVersion
RulesToolkit. getJavaVersion(IItemCollection items)
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 theIType
representation of a specific event type in anIItemCollection
.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 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<Result> 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<Result> 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<Result> 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<Result> 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)
-
Uses of IItemCollection in org.openjdk.jmc.flightrecorder.stacktrace
Fields in org.openjdk.jmc.flightrecorder.stacktrace declared as IItemCollection Modifier and Type Field Description private IItemCollection
StacktraceModel. items
Constructors in org.openjdk.jmc.flightrecorder.stacktrace with parameters of type IItemCollection Constructor Description StacktraceModel(boolean threadRootAtTop, FrameSeparator frameSeparator, IItemCollection items)
-