< prev index next >
test/compiler/tiered/NonTieredLevelsTest.java
Print this page
*** 20,40 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import java.util.function.IntPredicate;
/**
* @test NonTieredLevelsTest
! * @library /testlibrary /../../test/lib /compiler/whitebox
* @modules java.management
* @build NonTieredLevelsTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
! * -XX:CompileCommand=compileonly,SimpleTestCase$Helper::*
* NonTieredLevelsTest
* @summary Verify that only one level can be used
* @author igor.ignatyev@oracle.com
*/
public class NonTieredLevelsTest extends CompLevelsTest {
--- 20,41 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import java.util.function.IntPredicate;
+ import compiler.whitebox.CompilerWhiteBoxTest;
/**
* @test NonTieredLevelsTest
! * @library /testlibrary /../../test/lib /
* @modules java.management
* @build NonTieredLevelsTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:-TieredCompilation
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
! * -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCase$Helper::*
* NonTieredLevelsTest
* @summary Verify that only one level can be used
* @author igor.ignatyev@oracle.com
*/
public class NonTieredLevelsTest extends CompLevelsTest {
< prev index next >