< prev index next >

test/compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java

Print this page




  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  28  * @library / /test/lib
  29  *          ../common/patches
  30  * @modules java.base/jdk.internal.misc
  31  *          java.base/jdk.internal.org.objectweb.asm
  32  *          java.base/jdk.internal.org.objectweb.asm.tree
  33  *          jdk.internal.vm.ci/jdk.vm.ci.hotspot
  34  *          jdk.internal.vm.ci/jdk.vm.ci.code
  35  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  36  *        sun.hotspot.WhiteBox
  37  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  38  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  39  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  40  *     -XX:+WhiteBoxAPI -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -Xbatch

  41  *     compiler.jvmci.compilerToVM.IsMatureVsReprofileTest
  42  */
  43 
  44 package compiler.jvmci.compilerToVM;
  45 
  46 import compiler.jvmci.common.CTVMUtilities;
  47 import compiler.jvmci.common.testcases.SimpleClass;
  48 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  49 import jdk.test.lib.Asserts;
  50 import sun.hotspot.WhiteBox;
  51 import compiler.whitebox.CompilerWhiteBoxTest;
  52 import java.lang.reflect.Executable;
  53 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  54 import jdk.test.lib.Platform;
  55 
  56 public class IsMatureVsReprofileTest {
  57     private static final WhiteBox WB = WhiteBox.getWhiteBox();
  58     private static final boolean TIERED = WB.getBooleanVMFlag("TieredCompilation");
  59     private static final boolean IS_XCOMP = Platform.isComp();
  60 




  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  28  * @library / /test/lib
  29  *          ../common/patches
  30  * @modules java.base/jdk.internal.misc
  31  *          java.base/jdk.internal.org.objectweb.asm
  32  *          java.base/jdk.internal.org.objectweb.asm.tree
  33  *          jdk.internal.vm.ci/jdk.vm.ci.hotspot
  34  *          jdk.internal.vm.ci/jdk.vm.ci.code
  35  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  36  *        sun.hotspot.WhiteBox
  37  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  38  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  39  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  40  *     -XX:+WhiteBoxAPI -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -Xbatch
  41  *     -Djvmci.Compiler=null
  42  *     compiler.jvmci.compilerToVM.IsMatureVsReprofileTest
  43  */
  44 
  45 package compiler.jvmci.compilerToVM;
  46 
  47 import compiler.jvmci.common.CTVMUtilities;
  48 import compiler.jvmci.common.testcases.SimpleClass;
  49 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  50 import jdk.test.lib.Asserts;
  51 import sun.hotspot.WhiteBox;
  52 import compiler.whitebox.CompilerWhiteBoxTest;
  53 import java.lang.reflect.Executable;
  54 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  55 import jdk.test.lib.Platform;
  56 
  57 public class IsMatureVsReprofileTest {
  58     private static final WhiteBox WB = WhiteBox.getWhiteBox();
  59     private static final boolean TIERED = WB.getBooleanVMFlag("TieredCompilation");
  60     private static final boolean IS_XCOMP = Platform.isComp();
  61 


< prev index next >