< prev index next >

test/compiler/stable/TestStableObject.java

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


  41  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  42  *                                 -XX:-TieredCompilation
  43  *                                 -XX:+FoldStableValues
  44  *                                 compiler.stable.TestStableObject
  45  *
  46  * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
  47  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  48  *                                 -XX:-TieredCompilation
  49  *                                 -XX:+FoldStableValues
  50  *                                 compiler.stable.TestStableObject
  51  * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
  52  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  53  *                                 -XX:-TieredCompilation
  54  *                                 -XX:+FoldStableValues
  55  *                                 compiler.stable.TestStableObject
  56  */
  57 
  58 package compiler.stable;
  59 
  60 import jdk.internal.vm.annotation.Stable;

  61 import java.lang.reflect.InvocationTargetException;
  62 
  63 public class TestStableObject {
  64     static final boolean isStableEnabled    = StableConfiguration.isStableEnabled;
  65 
  66     public static void main(String[] args) throws Exception {
  67         run(DefaultValue.class);
  68         run(ObjectStable.class);
  69         run(DefaultStaticValue.class);
  70         run(StaticObjectStable.class);
  71         run(VolatileObjectStable.class);
  72 
  73         // @Stable arrays: Dim 1-4
  74         run(ObjectArrayDim1.class);
  75         run(ObjectArrayDim2.class);
  76         run(ObjectArrayDim3.class);
  77         run(ObjectArrayDim4.class);
  78 
  79         // @Stable Object field: dynamic arrays
  80         run(ObjectArrayLowerDim0.class);




  41  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  42  *                                 -XX:-TieredCompilation
  43  *                                 -XX:+FoldStableValues
  44  *                                 compiler.stable.TestStableObject
  45  *
  46  * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
  47  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  48  *                                 -XX:-TieredCompilation
  49  *                                 -XX:+FoldStableValues
  50  *                                 compiler.stable.TestStableObject
  51  * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
  52  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  53  *                                 -XX:-TieredCompilation
  54  *                                 -XX:+FoldStableValues
  55  *                                 compiler.stable.TestStableObject
  56  */
  57 
  58 package compiler.stable;
  59 
  60 import jdk.internal.vm.annotation.Stable;
  61 
  62 import java.lang.reflect.InvocationTargetException;
  63 
  64 public class TestStableObject {
  65     static final boolean isStableEnabled    = StableConfiguration.isStableEnabled;
  66 
  67     public static void main(String[] args) throws Exception {
  68         run(DefaultValue.class);
  69         run(ObjectStable.class);
  70         run(DefaultStaticValue.class);
  71         run(StaticObjectStable.class);
  72         run(VolatileObjectStable.class);
  73 
  74         // @Stable arrays: Dim 1-4
  75         run(ObjectArrayDim1.class);
  76         run(ObjectArrayDim2.class);
  77         run(ObjectArrayDim3.class);
  78         run(ObjectArrayDim4.class);
  79 
  80         // @Stable Object field: dynamic arrays
  81         run(ObjectArrayLowerDim0.class);


< prev index next >