hotspot/test/compiler/codecache/jmx/UsageThresholdExceededTest.java
changeset 40367 03bdcc357e10
parent 40059 c2304140ed64
child 40631 ed82623d7831
--- a/hotspot/test/compiler/codecache/jmx/UsageThresholdExceededTest.java	Thu Aug 04 22:42:05 2016 -0400
+++ b/hotspot/test/compiler/codecache/jmx/UsageThresholdExceededTest.java	Fri Aug 05 16:22:30 2016 +0300
@@ -63,7 +63,9 @@
     public static void main(String[] args) {
         int iterationsCount = Integer.getInteger("jdk.test.lib.iterations", 1);
         for (BlobType btype : BlobType.getAvailable()) {
-            new UsageThresholdExceededTest(btype, iterationsCount).runTest();
+            if (CodeCacheUtils.isCodeHeapPredictable(btype)) {
+                new UsageThresholdExceededTest(btype, iterationsCount).runTest();
+            }
         }
     }