# HG changeset patch # User dpochepk # Date 1424378821 -10800 # Node ID b287769dcff144680aa6e6abb412c958ea64d38a # Parent 6af23ac5a76259409e654776a5017814ea5da655 8068461: compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-nmethods' Summary: added filter for invalid testcase Reviewed-by: kvn, iignatyev diff -r 6af23ac5a762 -r b287769dcff1 hotspot/test/compiler/codecache/jmx/UsageThresholdIncreasedTest.java --- a/hotspot/test/compiler/codecache/jmx/UsageThresholdIncreasedTest.java Wed Feb 18 16:59:56 2015 +0300 +++ b/hotspot/test/compiler/codecache/jmx/UsageThresholdIncreasedTest.java Thu Feb 19 23:47:01 2015 +0300 @@ -51,7 +51,9 @@ public static void main(String[] args) { for (BlobType btype : BlobType.getAvailable()) { - new UsageThresholdIncreasedTest(btype).runTest(); + if (CodeCacheUtils.isCodeHeapPredictable(btype)) { + new UsageThresholdIncreasedTest(btype).runTest(); + } } }