< prev index next >

test/compiler/jvmci/compilerToVM/GetResolvedJavaMethodAtSlotTest.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke


  25 /**
  26  * @test
  27  * @bug 8136421
  28  * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
  29  * @library /testlibrary /test/lib /
  30  * @library ../common/patches
  31  * @modules java.base/jdk.internal.misc
  32  * @modules java.base/jdk.internal.org.objectweb.asm
  33  *          java.base/jdk.internal.org.objectweb.asm.tree
  34  *          jdk.vm.ci/jdk.vm.ci.hotspot
  35  *          jdk.vm.ci/jdk.vm.ci.code
  36  *          jdk.vm.ci/jdk.vm.ci.meta
  37  * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  38  * @build compiler.jvmci.compilerToVM.GetNextStackFrameTest
  39  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  40  *                   compiler.jvmci.compilerToVM.GetResolvedJavaMethodAtSlotTest
  41  */
  42 
  43 package compiler.jvmci.compilerToVM;
  44 
  45 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  46 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  47 import jdk.test.lib.Asserts;



  48 import java.util.HashMap;
  49 import java.util.Map;
  50 
  51 public class GetResolvedJavaMethodAtSlotTest {
  52 
  53     private static class A {
  54         {
  55             System.out.println("Dummy");
  56         }
  57         public void f1() {}
  58         public int f2() { return 0; }
  59         public String f3() { return ""; }
  60     }
  61 
  62 
  63     private static class S {
  64         static {
  65             System.out.println("Dummy static");
  66         }
  67         public S() {}




  25 /**
  26  * @test
  27  * @bug 8136421
  28  * @requires (vm.simpleArch == "x64" | vm.simpleArch == "sparcv9" | vm.simpleArch == "aarch64")
  29  * @library /testlibrary /test/lib /
  30  * @library ../common/patches
  31  * @modules java.base/jdk.internal.misc
  32  * @modules java.base/jdk.internal.org.objectweb.asm
  33  *          java.base/jdk.internal.org.objectweb.asm.tree
  34  *          jdk.vm.ci/jdk.vm.ci.hotspot
  35  *          jdk.vm.ci/jdk.vm.ci.code
  36  *          jdk.vm.ci/jdk.vm.ci.meta
  37  * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  38  * @build compiler.jvmci.compilerToVM.GetNextStackFrameTest
  39  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
  40  *                   compiler.jvmci.compilerToVM.GetResolvedJavaMethodAtSlotTest
  41  */
  42 
  43 package compiler.jvmci.compilerToVM;
  44 


  45 import jdk.test.lib.Asserts;
  46 import jdk.vm.ci.hotspot.CompilerToVMHelper;
  47 import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
  48 
  49 import java.util.HashMap;
  50 import java.util.Map;
  51 
  52 public class GetResolvedJavaMethodAtSlotTest {
  53 
  54     private static class A {
  55         {
  56             System.out.println("Dummy");
  57         }
  58         public void f1() {}
  59         public int f2() { return 0; }
  60         public String f3() { return ""; }
  61     }
  62 
  63 
  64     private static class S {
  65         static {
  66             System.out.println("Dummy static");
  67         }
  68         public S() {}


< prev index next >