< prev index next >
test/compiler/codecache/jmx/UsageThresholdExceededTest.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 19,47 ****
* 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
! * @library /testlibrary /test/lib
* @modules java.base/jdk.internal.misc
* java.management
! * @build UsageThresholdExceededTest
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
! * -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache -XX:-UseCodeCacheFlushing
! * -XX:-MethodFlushing -XX:CompileCommand=compileonly,null::*
! * UsageThresholdExceededTest
! * @summary verifying that getUsageThresholdCount() returns correct value
! * after threshold has been hit
*/
public class UsageThresholdExceededTest {
protected final int iterations;
private final BlobType btype;
--- 19,57 ----
* 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.
*/
/*
* @test UsageThresholdExceededTest
! * @summary verifying that getUsageThresholdCount() returns correct value
! * after threshold has been hit
! * @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
! *
! * @build compiler.codecache.jmx.UsageThresholdExceededTest
! * @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
! * -XX:+WhiteBoxAPI -XX:-UseCodeCacheFlushing -XX:-MethodFlushing
! * -XX:CompileCommand=compileonly,null::*
! * -XX:+SegmentedCodeCache
! * compiler.codecache.jmx.UsageThresholdExceededTest
! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
! * -XX:+WhiteBoxAPI -XX:-UseCodeCacheFlushing -XX:-MethodFlushing
! * -XX:CompileCommand=compileonly,null::*
! * -XX:-SegmentedCodeCache
! * compiler.codecache.jmx.UsageThresholdExceededTest
*/
+
+ package compiler.codecache.jmx;
+
+ import sun.hotspot.code.BlobType;
+
+ import java.lang.management.MemoryPoolMXBean;
+
public class UsageThresholdExceededTest {
protected final int iterations;
private final BlobType btype;
< prev index next >