< prev index next >
core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/java/org/openjdk/jmc/flightrecorder/rules/jdk/memory/GcLockerRule.java
Print this page
*** 67,77 ****
private static final List<TypedPreference<?>> CONFIG_ATTRIBUTES = Arrays
.<TypedPreference<?>> asList(GC_LOCKER_RATIO_LIMIT);
private Result getResult(IItemCollection items, IPreferenceValueProvider valueProvider) {
EventAvailability eventAvailability = RulesToolkit.getEventAvailability(items, JdkTypeIDs.GARBAGE_COLLECTION);
! if (eventAvailability == EventAvailability.UNAVAILABLE || eventAvailability == EventAvailability.DISABLED) {
return RulesToolkit.getEventAvailabilityResult(this, items, eventAvailability,
JdkTypeIDs.GARBAGE_COLLECTION);
}
GarbageCollectionsInfo aggregate = items.getAggregate(GarbageCollectionsInfo.GC_INFO_AGGREGATOR);
--- 67,77 ----
private static final List<TypedPreference<?>> CONFIG_ATTRIBUTES = Arrays
.<TypedPreference<?>> asList(GC_LOCKER_RATIO_LIMIT);
private Result getResult(IItemCollection items, IPreferenceValueProvider valueProvider) {
EventAvailability eventAvailability = RulesToolkit.getEventAvailability(items, JdkTypeIDs.GARBAGE_COLLECTION);
! if (eventAvailability == EventAvailability.UNKNOWN || eventAvailability == EventAvailability.DISABLED) {
return RulesToolkit.getEventAvailabilityResult(this, items, eventAvailability,
JdkTypeIDs.GARBAGE_COLLECTION);
}
GarbageCollectionsInfo aggregate = items.getAggregate(GarbageCollectionsInfo.GC_INFO_AGGREGATOR);
< prev index next >