< prev index next >

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

Print this page

        

@@ -60,11 +60,11 @@
 
         private Result getResult(IItemCollection items, IPreferenceValueProvider valueProvider) {
 
                 EventAvailability eventAvailability = RulesToolkit.getEventAvailability(items, JdkTypeIDs.ALLOC_INSIDE_TLAB,
                                 JdkTypeIDs.ALLOC_OUTSIDE_TLAB);
-                if (eventAvailability == EventAvailability.DISABLED || eventAvailability == EventAvailability.UNAVAILABLE) {
+                if (eventAvailability == EventAvailability.DISABLED || eventAvailability == EventAvailability.UNKNOWN) {
                         return RulesToolkit.getEventAvailabilityResult(this, items, eventAvailability, JdkTypeIDs.ALLOC_INSIDE_TLAB,
                                         JdkTypeIDs.ALLOC_OUTSIDE_TLAB);
                 }
 
                 IQuantity insideSum = items.getAggregate(JdkAggregators.ALLOC_INSIDE_TLAB_SUM);
< prev index next >