Package | Description |
---|---|
org.openjdk.jmc.common.item |
This package contains the
IItem data model. |
org.openjdk.jmc.common.unit |
This package contains the data model for quantities and units.
|
org.openjdk.jmc.common.util | |
org.openjdk.jmc.flightrecorder | |
org.openjdk.jmc.flightrecorder.internal | |
org.openjdk.jmc.flightrecorder.internal.parser | |
org.openjdk.jmc.flightrecorder.internal.parser.v1 | |
org.openjdk.jmc.flightrecorder.memleak | |
org.openjdk.jmc.flightrecorder.rules.jdk.cpu | |
org.openjdk.jmc.flightrecorder.rules.jdk.dataproviders | |
org.openjdk.jmc.flightrecorder.rules.jdk.exceptions | |
org.openjdk.jmc.flightrecorder.rules.jdk.general | |
org.openjdk.jmc.flightrecorder.rules.jdk.latency | |
org.openjdk.jmc.flightrecorder.rules.jdk.memory | |
org.openjdk.jmc.flightrecorder.rules.jdk.util |
This package contains helper classes that will be moved in a later release.
|
org.openjdk.jmc.flightrecorder.rules.util |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
ItemCollectionToolkit.StreamBackedItemCollection.chunkRanges |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IRange<IQuantity>> |
ItemCollectionToolkit.StreamBackedItemCollection.getUnfilteredTimeRanges() |
java.util.Set<IRange<IQuantity>> |
IItemCollection.getUnfilteredTimeRanges()
Deprecated.
see https://bugs.openjdk.java.net/browse/JMC-7103.
|
Modifier and Type | Method and Description |
---|---|
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.centerContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit)
Match a range according to
RangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN . |
protected java.util.function.Predicate<IItem> |
ItemFilters.RangeMatches.getPredicate(IMemberAccessor<? extends IRange<M>,IItem> accessor,
IRange<M> limit) |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.matchRange(PersistableItemFilter.Kind kind,
ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit) |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.matchRange(RangeMatchPolicy policy,
ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit) |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.rangeContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit)
Match a range according to
RangeMatchPolicy.CONTAINED_IN_CLOSED . |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.rangeIntersects(ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit)
Match a range according to
RangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED . |
Modifier and Type | Method and Description |
---|---|
(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,
java.util.Set<IRange<IQuantity>> chunkRanges) |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.centerContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit)
Match a range according to
RangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN . |
protected java.util.function.Predicate<IItem> |
ItemFilters.RangeMatches.getPredicate(IMemberAccessor<? extends IRange<M>,IItem> accessor,
IRange<M> limit) |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.matchRange(PersistableItemFilter.Kind kind,
ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit) |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.matchRange(RangeMatchPolicy policy,
ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit) |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.rangeContainedIn(ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit)
Match a range according to
RangeMatchPolicy.CONTAINED_IN_CLOSED . |
static <M extends java.lang.Comparable<? super M>> |
ItemFilters.rangeIntersects(ICanonicalAccessorFactory<IRange<M>> rangeAttribute,
IRange<M> rangeLimit)
Match a range according to
RangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED . |
Constructor and Description |
---|
RangeMatches(PersistableItemFilter.Kind kind,
ICanonicalAccessorFactory<IRange<M>> attribute,
IRange<M> limit) |
Constructor and Description |
---|
RangeMatches(PersistableItemFilter.Kind kind,
ICanonicalAccessorFactory<IRange<M>> attribute,
IRange<M> limit) |
StreamBackedItemCollection(java.util.function.Supplier<java.util.stream.Stream<IItemIterable>> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
Modifier and Type | Class and Description |
---|---|
class |
QuantityRange<U extends TypedUnit<U>>
A finite range of quantities.
|
private static class |
QuantityRange.Point<U extends TypedUnit<U>> |
private static class |
QuantityRange.WithEnd<U extends TypedUnit<U>> |
private static class |
QuantityRange.WithExtent<U extends TypedUnit<U>> |
Modifier and Type | Field and Description |
---|---|
static ContentType<IRange<IQuantity>> |
UnitLookup.TIMERANGE |
Modifier and Type | Method and Description |
---|---|
static <U extends TypedUnit<U>> |
QuantityRange.createPoint(IQuantity start) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithEnd(IQuantity start,
IQuantity end) |
static <U extends TypedUnit<U>> |
QuantityRange.createWithExtent(IQuantity start,
ITypedQuantity<LinearUnit> extent) |
IRange<IQuantity> |
KindOfQuantity.getFirstBucket(IQuantity start,
IQuantity end,
double maxBuckets)
Divide the given range into at most
maxBuckets "naturally" aligned buckets, and
return the first one. |
protected IRange<IQuantity> |
KindOfQuantity.getFirstBucket(ITypedQuantity<U> start,
ITypedQuantity<U> end,
double maxBuckets) |
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
abstract IRange<T> |
RangeContentType.rangeWithEnd(T start,
T end) |
static IRange<IQuantity> |
QuantityRange.union(IRange<IQuantity> a,
IRange<IQuantity> b) |
Modifier and Type | Method and Description |
---|---|
IFormatter<IRange<IQuantity>> |
KindOfQuantity.getRangeFormatter(java.lang.String formatHint)
Temporary helper to format quantity ranges.
|
Modifier and Type | Method and Description |
---|---|
IFormatter<IQuantity> |
TimestampKind.getFormatterResolving(IRange<IQuantity> range) |
IFormatter<IQuantity> |
LinearKindOfQuantity.getFormatterResolving(IRange<IQuantity> range) |
abstract IFormatter<IQuantity> |
KindOfQuantity.getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends of
range , and consecutive equally spaced quantities. |
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.intersection(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.union(IRange<IQuantity> a,
IRange<IQuantity> b) |
static IRange<IQuantity> |
QuantityRange.union(IRange<IQuantity> a,
IRange<IQuantity> b) |
Modifier and Type | Method and Description |
---|---|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.pointRange(IMemberAccessor<IQuantity,T> point)
Create an accessor that constructs point ranges (ranges with zero extent) based on point
values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithEnd(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on start and end values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtent(IMemberAccessor<IQuantity,T> start,
IMemberAccessor<IQuantity,T> extent)
Create an accessor that constructs ranges based on start and extent values.
|
static <T> IMemberAccessor<IRange<IQuantity>,T> |
MemberAccessorToolkit.rangeWithExtentEnd(IMemberAccessor<IQuantity,T> extent,
IMemberAccessor<IQuantity,T> end)
Create an accessor that constructs ranges based on end and extent values.
|
Modifier and Type | Method and Description |
---|---|
static <T,M extends java.lang.Comparable<? super M>> |
PredicateToolkit.centerContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor,
IRange<M> limit)
Return a predicate based on
limit according to
RangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN . |
static <T,M extends java.lang.Comparable<? super M>> |
PredicateToolkit.rangeContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor,
IRange<M> limit)
Return a predicate based on
limit according to
RangeMatchPolicy.CONTAINED_IN_CLOSED . |
static <T,M extends java.lang.Comparable<? super M>> |
PredicateToolkit.rangeIntersects(IMemberAccessor<? extends IRange<M>,T> rangeAccessor,
IRange<M> limit)
Return a predicate based on
limit according to
RangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED . |
Modifier and Type | Method and Description |
---|---|
static <T,M extends java.lang.Comparable<? super M>> |
PredicateToolkit.centerContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor,
IRange<M> limit)
Return a predicate based on
limit according to
RangeMatchPolicy.CENTER_CONTAINED_IN_RIGHT_OPEN . |
static <T,M extends java.lang.Comparable<? super M>> |
PredicateToolkit.rangeContained(IMemberAccessor<? extends IRange<M>,T> rangeAccessor,
IRange<M> limit)
Return a predicate based on
limit according to
RangeMatchPolicy.CONTAINED_IN_CLOSED . |
static <T,M extends java.lang.Comparable<? super M>> |
PredicateToolkit.rangeIntersects(IMemberAccessor<? extends IRange<M>,T> rangeAccessor,
IRange<M> limit)
Return a predicate based on
limit according to
RangeMatchPolicy.CLOSED_INTERSECTS_WITH_CLOSED . |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
EventCollection.chunkRanges |
static IAttribute<IRange<IQuantity>> |
JfrAttributes.LIFETIME |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IRange<IQuantity>> |
EventCollection.getUnfilteredTimeRanges() |
Constructor and Description |
---|
EventCollection(java.util.ArrayList<EventCollection.EventTypeEntry> items,
java.util.Set<IRange<IQuantity>> chunkRanges) |
Modifier and Type | Field and Description |
---|---|
private IRange<IQuantity> |
ChunkInfo.range |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
EventArrays.chunkTimeranges |
Modifier and Type | Method and Description |
---|---|
IRange<IQuantity> |
ChunkInfo.getChunkRange() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IRange<IQuantity>> |
EventArrays.getChunkTimeranges() |
Constructor and Description |
---|
ChunkInfo(long position,
long size,
IRange<IQuantity> range) |
Constructor and Description |
---|
EventArrays(EventArray[] arrays,
java.util.Set<IRange<IQuantity>> ranges) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
LoaderContext.chunkRanges |
Modifier and Type | Method and Description |
---|---|
void |
LoaderContext.addChunkRange(IRange<IQuantity> chunkRange) |
Modifier and Type | Method and Description |
---|---|
(package private) IRange<IQuantity> |
ChunkStructure.getChunkRange() |
Modifier and Type | Method and Description |
---|---|
int |
ReferenceTreeModel.getLeakCountInRange(IRange<IQuantity> timerange,
ReferenceTreeObject referenceTreeObject)
A helper method to calculate number of Referenced Object within specified period.
|
java.util.Collection<ReferenceTreeObject> |
ReferenceTreeModel.getLeakObjects(IRange<IQuantity> timerange) |
java.util.Collection<ReferenceTreeObject> |
ReferenceTreeModel.getRootObjects(IRange<IQuantity> timerange) |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IRange<IQuantity>> |
CompareCpuRule.AVERAGE_CPU_LOAD_WINDOW |
Modifier and Type | Method and Description |
---|---|
private static IRange<IQuantity> |
HaltsProvider.createRange(IItemCollection items) |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IRange<IQuantity>> |
ErrorRule.ERROR_WINDOW |
static TypedResult<IRange<IQuantity>> |
ExceptionRule.EXCEPTION_WINDOW |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IRange<IQuantity>> |
FewSampledThreadsRule.MAX_WINDOW |
Modifier and Type | Field and Description |
---|---|
private IRange<IQuantity> |
MethodProfilingRule.MethodProfilingWindowResult.window |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IRange<IQuantity>> |
MethodProfilingRule.MOST_INTERESTING_WINDOW |
Modifier and Type | Method and Description |
---|---|
IRange<IQuantity> |
MethodProfilingRule.MethodProfilingWindowResult.getWindow() |
Constructor and Description |
---|
MethodProfilingWindowResult(IMCMethod method,
IMCStackTrace path,
IQuantity ratio,
IQuantity actualRatio,
IRange<IQuantity> window) |
Modifier and Type | Field and Description |
---|---|
protected IRange<IQuantity> |
GcFreedRatioRule.GcInfoHolder.range |
Modifier and Type | Field and Description |
---|---|
static TypedResult<IRange<IQuantity>> |
GcFreedRatioRule.GC_WINDOW |
static TypedResult<IRange<IQuantity>> |
ApplicationHaltsRule.HALTS_WINDOW |
static TypedResult<IRange<IQuantity>> |
HighGcRule.PAUSE_CLUSTER |
static TypedResult<IRange<IQuantity>> |
GcPauseRatioRule.WINDOW |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<IRange<IQuantity>> |
SingleEntryItemCollection.chunkRanges |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IRange<IQuantity>> |
SingleEntryItemCollection.getUnfilteredTimeRanges() |
Constructor and Description |
---|
SingleEntryItemCollection(IItem item,
java.util.Set<IRange<IQuantity>> chunkRanges) |
Modifier and Type | Method and Description |
---|---|
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.
|