test/hotspot/jtreg/compiler/jvmci/compilerToVM/GetResolvedJavaMethodTest.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File open Sdiff test/hotspot/jtreg/compiler/jvmci/compilerToVM

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

Print this page




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




  22  */
  23 
  24  /*
  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  28  * @library / /test/lib
  29  * @library ../common/patches
  30  * @ignore Not supported JVMCI API
  31  * @modules java.base/jdk.internal.misc:+open
  32  * @modules jdk.internal.vm.ci/jdk.vm.ci.hotspot:+open
  33  *
  34  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  35  *        jdk.internal.vm.ci/jdk.vm.ci.hotspot.PublicMetaspaceWrapperObject
  36  *        sun.hotspot.WhiteBox
  37  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  38  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  39  * @run main/othervm -Xbootclasspath/a:.
  40  *                   -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
  41  *                   -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  42  *                   -XX:-UseJVMCICompiler
  43  *                   compiler.jvmci.compilerToVM.GetResolvedJavaMethodTest
  44  */
  45 
  46 package compiler.jvmci.compilerToVM;
  47 
  48 import jdk.internal.misc.Unsafe;
  49 import jdk.test.lib.Asserts;
  50 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  51 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  52 import jdk.vm.ci.hotspot.PublicMetaspaceWrapperObject;
  53 import sun.hotspot.WhiteBox;
  54 
  55 import java.lang.reflect.Field;
  56 import java.lang.reflect.Method;
  57 
  58 public class GetResolvedJavaMethodTest {
  59     private static enum TestCase {
  60         NULL_BASE {
  61             @Override
  62             HotSpotResolvedJavaMethod getResolvedJavaMethod() {


test/hotspot/jtreg/compiler/jvmci/compilerToVM/GetResolvedJavaMethodTest.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File