< prev index next >
test/compiler/tiered/NonTieredLevelsTest.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 21,47 ****
* questions.
*/
/**
* @test NonTieredLevelsTest
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
! * @modules java.management
! * @build NonTieredLevelsTest
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCounterDecay
* -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::*
! * NonTieredLevelsTest
! * @summary Verify that only one level can be used
! * @author igor.ignatyev@oracle.com
*/
! import java.util.function.IntPredicate;
import compiler.whitebox.CompilerWhiteBoxTest;
public class NonTieredLevelsTest extends CompLevelsTest {
private static final int AVAILABLE_COMP_LEVEL;
private static final IntPredicate IS_AVAILABLE_COMPLEVEL;
static {
String vmName = System.getProperty("java.vm.name");
--- 21,50 ----
* questions.
*/
/**
* @test NonTieredLevelsTest
+ * @summary Verify that only one level can be used
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
! * java.management
! *
! * @build compiler.tiered.NonTieredLevelsTest
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCounterDecay
* -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::*
! * compiler.tiered.NonTieredLevelsTest
*/
! package compiler.tiered;
!
import compiler.whitebox.CompilerWhiteBoxTest;
+ import java.util.function.IntPredicate;
+
public class NonTieredLevelsTest extends CompLevelsTest {
private static final int AVAILABLE_COMP_LEVEL;
private static final IntPredicate IS_AVAILABLE_COMPLEVEL;
static {
String vmName = System.getProperty("java.vm.name");
< prev index next >