8068461: compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-nmethods'
authordpochepk
Thu, 19 Feb 2015 23:47:01 +0300
changeset 29336 b287769dcff1
parent 29335 6af23ac5a762
child 29337 ef2be52deeaf
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
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();
+            }
         }
     }