< prev index next >

test/compiler/codecache/jmx/UsageThresholdIncreasedTest.java

Print this page

        

*** 49,61 **** --- 49,63 ---- this.btype = btype; } public static void main(String[] args) { for (BlobType btype : BlobType.getAvailable()) { + if (CodeCacheUtils.isCodeHeapPredictable(btype)) { new UsageThresholdIncreasedTest(btype).runTest(); } } + } private void checkUsageThresholdCount(MemoryPoolMXBean bean, long count){ Asserts.assertEQ(bean.getUsageThresholdCount(), count, String.format("Usage threshold was hit: %d times for %s " + "Threshold value: %d with current usage: %d",
< prev index next >