--- a/hotspot/test/compiler/codecache/jmx/ThresholdNotificationsTest.java Thu Aug 04 22:42:05 2016 -0400
+++ b/hotspot/test/compiler/codecache/jmx/ThresholdNotificationsTest.java Fri Aug 05 16:22:30 2016 +0300
@@ -63,7 +63,9 @@
public static void main(String[] args) {
for (BlobType bt : BlobType.getAvailable()) {
- new ThresholdNotificationsTest(bt).runTest();
+ if (CodeCacheUtils.isCodeHeapPredictable(bt)) {
+ new ThresholdNotificationsTest(bt).runTest();
+ }
}
}
--- 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();
+ }
}
}