< prev index next >

test/compiler/jvmci/compilerToVM/ResolveConstantInPoolTest.java

Print this page




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

  43  *                   compiler.jvmci.compilerToVM.ResolveConstantInPoolTest
  44  */
  45 
  46 package compiler.jvmci.compilerToVM;
  47 
  48 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes;
  49 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.Validator;
  50 import compiler.jvmci.compilerToVM.ConstantPoolTestsHelper.DummyClasses;
  51 import jdk.test.lib.Asserts;
  52 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  53 import jdk.vm.ci.meta.ConstantPool;
  54 
  55 import java.lang.invoke.MethodHandle;
  56 import java.lang.invoke.MethodType;
  57 import java.util.HashMap;
  58 import java.util.Map;
  59 
  60 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_METHODHANDLE;
  61 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_METHODTYPE;
  62 




  23 
  24 /*
  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  28  * @library /test/lib /
  29  * @library ../common/patches
  30  * @modules java.base/jdk.internal.misc
  31  *          java.base/jdk.internal.reflect
  32  *          java.base/jdk.internal.org.objectweb.asm
  33  *          jdk.internal.vm.ci/jdk.vm.ci.hotspot
  34  *          jdk.internal.vm.ci/jdk.vm.ci.runtime
  35  *          jdk.internal.vm.ci/jdk.vm.ci.meta
  36  *
  37  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper sun.hotspot.WhiteBox
  38  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  39  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  40  * @run main/othervm -Xbootclasspath/a:.
  41  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  42  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  43  *                   -Djvmci.Compiler=null
  44  *                   compiler.jvmci.compilerToVM.ResolveConstantInPoolTest
  45  */
  46 
  47 package compiler.jvmci.compilerToVM;
  48 
  49 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes;
  50 import compiler.jvmci.compilerToVM.ConstantPoolTestCase.Validator;
  51 import compiler.jvmci.compilerToVM.ConstantPoolTestsHelper.DummyClasses;
  52 import jdk.test.lib.Asserts;
  53 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  54 import jdk.vm.ci.meta.ConstantPool;
  55 
  56 import java.lang.invoke.MethodHandle;
  57 import java.lang.invoke.MethodType;
  58 import java.util.HashMap;
  59 import java.util.Map;
  60 
  61 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_METHODHANDLE;
  62 import static compiler.jvmci.compilerToVM.ConstantPoolTestCase.ConstantTypes.CONSTANT_METHODTYPE;
  63 


< prev index next >