< prev index next >
test/compiler/codecache/jmx/UsageThresholdExceededTest.java
Print this page
*** 19,29 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! import com.oracle.java.testlibrary.Asserts;
import java.lang.management.MemoryPoolMXBean;
import sun.hotspot.code.BlobType;
/*
* @test UsageThresholdExceededTest
--- 19,29 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! import jdk.test.lib.Asserts;
import java.lang.management.MemoryPoolMXBean;
import sun.hotspot.code.BlobType;
/*
* @test UsageThresholdExceededTest
*** 50,60 ****
this.iterations = iterations;
}
public static void main(String[] args) {
int iterationsCount =
! Integer.getInteger("com.oracle.java.testlibrary.iterations", 1);
for (BlobType btype : BlobType.getAvailable()) {
if (CodeCacheUtils.isCodeHeapPredictable(btype)) {
new UsageThresholdExceededTest(btype, iterationsCount)
.runTest();
}
--- 50,60 ----
this.iterations = iterations;
}
public static void main(String[] args) {
int iterationsCount =
! Integer.getInteger("jdk.test.lib.iterations", 1);
for (BlobType btype : BlobType.getAvailable()) {
if (CodeCacheUtils.isCodeHeapPredictable(btype)) {
new UsageThresholdExceededTest(btype, iterationsCount)
.runTest();
}
< prev index next >