< prev index next >

core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/java/org/openjdk/jmc/flightrecorder/rules/jdk/memory/LongGcPauseRule.java

Print this page

        

*** 76,86 **** private Result getResult(IItemCollection items, IPreferenceValueProvider vp) { EventAvailability eventAvailability = RulesToolkit.getEventAvailability(items, JdkTypeIDs.GC_PAUSE, JdkTypeIDs.GC_CONF, JdkTypeIDs.HEAP_CONF, JdkTypeIDs.GC_PAUSE_L1); if (eventAvailability == EventAvailability.DISABLED || eventAvailability == EventAvailability.UNKNOWN) { ! return RulesToolkit.getEventAvailabilityResult(this, items, EventAvailability.DISABLED, JdkTypeIDs.GC_PAUSE, JdkTypeIDs.GC_CONF, JdkTypeIDs.HEAP_CONF, JdkTypeIDs.GC_PAUSE_L1); } IQuantity maxPause = items.getAggregate(JdkAggregators.LONGEST_GC_PAUSE); if (maxPause != null) { String message = MessageFormat.format(Messages.getString(Messages.LongGcPauseRuleFactory_TEXT_INFO), --- 76,86 ---- private Result getResult(IItemCollection items, IPreferenceValueProvider vp) { EventAvailability eventAvailability = RulesToolkit.getEventAvailability(items, JdkTypeIDs.GC_PAUSE, JdkTypeIDs.GC_CONF, JdkTypeIDs.HEAP_CONF, JdkTypeIDs.GC_PAUSE_L1); if (eventAvailability == EventAvailability.DISABLED || eventAvailability == EventAvailability.UNKNOWN) { ! return RulesToolkit.getEventAvailabilityResult(this, items, eventAvailability, JdkTypeIDs.GC_PAUSE, JdkTypeIDs.GC_CONF, JdkTypeIDs.HEAP_CONF, JdkTypeIDs.GC_PAUSE_L1); } IQuantity maxPause = items.getAggregate(JdkAggregators.LONGEST_GC_PAUSE); if (maxPause != null) { String message = MessageFormat.format(Messages.getString(Messages.LongGcPauseRuleFactory_TEXT_INFO),
< prev index next >