< prev index next >

test/hotspot/jtreg/compiler/jvmci/compilerToVM/GetResolvedJavaTypeTest.java

Print this page




  28  * @library / /test/lib
  29  * @library ../common/patches
  30  * @ignore Not supported JVMCI API
  31  * @modules java.base/jdk.internal.misc
  32  * @modules jdk.internal.vm.ci/jdk.vm.ci.hotspot
  33  *          jdk.internal.vm.ci/jdk.vm.ci.meta
  34  *
  35  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  36  *        jdk.internal.vm.ci/jdk.vm.ci.hotspot.PublicMetaspaceWrapperObject
  37  *        sun.hotspot.WhiteBox
  38  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  39  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  40  * @run main/othervm -Xbootclasspath/a:.
  41  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  42  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  43  *                   -XX:+UseCompressedOops
  44  *                   compiler.jvmci.compilerToVM.GetResolvedJavaTypeTest
  45  * @run main/othervm -Xbootclasspath/a:.
  46  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  47  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  48  *                   -XX:-UseCompressedOops -XX:-UseJVMCICompiler
  49  *                   compiler.jvmci.compilerToVM.GetResolvedJavaTypeTest
  50  */
  51 
  52 package compiler.jvmci.compilerToVM;
  53 
  54 import jdk.internal.misc.Unsafe;
  55 import jdk.test.lib.Asserts;
  56 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  57 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  58 import jdk.vm.ci.hotspot.HotSpotResolvedObjectType;
  59 import jdk.vm.ci.hotspot.PublicMetaspaceWrapperObject;
  60 import jdk.vm.ci.meta.ConstantPool;
  61 import sun.hotspot.WhiteBox;
  62 
  63 import java.lang.reflect.Field;
  64 
  65 public class GetResolvedJavaTypeTest {
  66     private static enum TestCase {
  67         NULL_BASE {
  68             @Override




  28  * @library / /test/lib
  29  * @library ../common/patches
  30  * @ignore Not supported JVMCI API
  31  * @modules java.base/jdk.internal.misc
  32  * @modules jdk.internal.vm.ci/jdk.vm.ci.hotspot
  33  *          jdk.internal.vm.ci/jdk.vm.ci.meta
  34  *
  35  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  36  *        jdk.internal.vm.ci/jdk.vm.ci.hotspot.PublicMetaspaceWrapperObject
  37  *        sun.hotspot.WhiteBox
  38  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  39  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  40  * @run main/othervm -Xbootclasspath/a:.
  41  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  42  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  43  *                   -XX:+UseCompressedOops
  44  *                   compiler.jvmci.compilerToVM.GetResolvedJavaTypeTest
  45  * @run main/othervm -Xbootclasspath/a:.
  46  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  47  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  48  *                   -XX:-UseCompressedOops -Djvmci.Compiler=null
  49  *                   compiler.jvmci.compilerToVM.GetResolvedJavaTypeTest
  50  */
  51 
  52 package compiler.jvmci.compilerToVM;
  53 
  54 import jdk.internal.misc.Unsafe;
  55 import jdk.test.lib.Asserts;
  56 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  57 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  58 import jdk.vm.ci.hotspot.HotSpotResolvedObjectType;
  59 import jdk.vm.ci.hotspot.PublicMetaspaceWrapperObject;
  60 import jdk.vm.ci.meta.ConstantPool;
  61 import sun.hotspot.WhiteBox;
  62 
  63 import java.lang.reflect.Field;
  64 
  65 public class GetResolvedJavaTypeTest {
  66     private static enum TestCase {
  67         NULL_BASE {
  68             @Override


< prev index next >