< prev index next >

test/compiler/stable/TestStableChar.java

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


  40  * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
  41  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  42  *                                 -XX:-TieredCompilation
  43  *                                 -XX:+FoldStableValues
  44  *                                 compiler.stable.TestStableChar
  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.TestStableChar
  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.TestStableChar
  56  */
  57 
  58 package compiler.stable;
  59 
  60 import java.lang.reflect.InvocationTargetException;
  61 import jdk.internal.vm.annotation.Stable;
  62 


  63 public class TestStableChar {
  64     static final boolean isStableEnabled    = StableConfiguration.isStableEnabled;
  65 
  66     public static void main(String[] args) throws Exception {
  67         run(DefaultValue.class);
  68         run(CharStable.class);
  69         run(DefaultStaticValue.class);
  70         run(StaticCharStable.class);
  71         run(VolatileCharStable.class);
  72 
  73         // @Stable arrays: Dim 1-4
  74         run(CharArrayDim1.class);
  75         run(CharArrayDim2.class);
  76         run(CharArrayDim3.class);
  77         run(CharArrayDim4.class);
  78 
  79         // @Stable Object field: dynamic arrays
  80         run(ObjectArrayLowerDim0.class);
  81         run(ObjectArrayLowerDim1.class);
  82         run(ObjectArrayLowerDim2.class);




  40  * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
  41  *                                 -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
  42  *                                 -XX:-TieredCompilation
  43  *                                 -XX:+FoldStableValues
  44  *                                 compiler.stable.TestStableChar
  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.TestStableChar
  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.TestStableChar
  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 TestStableChar {
  65     static final boolean isStableEnabled    = StableConfiguration.isStableEnabled;
  66 
  67     public static void main(String[] args) throws Exception {
  68         run(DefaultValue.class);
  69         run(CharStable.class);
  70         run(DefaultStaticValue.class);
  71         run(StaticCharStable.class);
  72         run(VolatileCharStable.class);
  73 
  74         // @Stable arrays: Dim 1-4
  75         run(CharArrayDim1.class);
  76         run(CharArrayDim2.class);
  77         run(CharArrayDim3.class);
  78         run(CharArrayDim4.class);
  79 
  80         // @Stable Object field: dynamic arrays
  81         run(ObjectArrayLowerDim0.class);
  82         run(ObjectArrayLowerDim1.class);
  83         run(ObjectArrayLowerDim2.class);


< prev index next >