41 * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
42 * -XX:-TieredCompilation
43 * -XX:+FoldStableValues
44 * compiler.stable.TestStableInt
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.TestStableInt
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.TestStableInt
56 */
57
58 package compiler.stable;
59
60 import jdk.internal.vm.annotation.Stable;
61 import java.lang.reflect.InvocationTargetException;
62
63 public class TestStableInt {
64 static final boolean isStableEnabled = StableConfiguration.isStableEnabled;
65
66 public static void main(String[] args) throws Exception {
67 run(DefaultValue.class);
68 run(IntStable.class);
69 run(DefaultStaticValue.class);
70 run(StaticIntStable.class);
71 run(VolatileIntStable.class);
72
73 // @Stable arrays: Dim 1-4
74 run(IntArrayDim1.class);
75 run(IntArrayDim2.class);
76 run(IntArrayDim3.class);
77 run(IntArrayDim4.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.TestStableInt
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.TestStableInt
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.TestStableInt
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 TestStableInt {
65 static final boolean isStableEnabled = StableConfiguration.isStableEnabled;
66
67 public static void main(String[] args) throws Exception {
68 run(DefaultValue.class);
69 run(IntStable.class);
70 run(DefaultStaticValue.class);
71 run(StaticIntStable.class);
72 run(VolatileIntStable.class);
73
74 // @Stable arrays: Dim 1-4
75 run(IntArrayDim1.class);
76 run(IntArrayDim2.class);
77 run(IntArrayDim3.class);
78 run(IntArrayDim4.class);
79
80 // @Stable Object field: dynamic arrays
81 run(ObjectArrayLowerDim0.class);
|