9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * @test TestStableByte
28 * @summary tests on stable fields and arrays
29 * @library /testlibrary /test/lib /
30 * @modules java.base/jdk.internal.misc
31 * @modules java.base/jdk.internal.vm.annotation
32 * @build sun.hotspot.WhiteBox
33 * @build compiler.stable.TestStableByte
34 *
35 * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
36 * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
37 * -XX:-TieredCompilation
38 * -XX:+FoldStableValues
39 * compiler.stable.TestStableByte
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.TestStableByte
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.TestStableByte
51 * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
52 * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
53 * -XX:-TieredCompilation
|
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * @test TestStableByte
28 * @summary tests on stable fields and arrays
29 * @library /test/lib /
30 * @modules java.base/jdk.internal.misc
31 * @modules java.base/jdk.internal.vm.annotation
32 * @build sun.hotspot.WhiteBox
33 *
34 * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
35 * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
36 * -XX:-TieredCompilation
37 * -XX:+FoldStableValues
38 * compiler.stable.TestStableByte
39 * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
40 * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
41 * -XX:-TieredCompilation
42 * -XX:+FoldStableValues
43 * compiler.stable.TestStableByte
44 *
45 * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
46 * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
47 * -XX:-TieredCompilation
48 * -XX:+FoldStableValues
49 * compiler.stable.TestStableByte
50 * @run main/bootclasspath/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xcomp
51 * -XX:CompileOnly=::get,::get1,::get2,::get3,::get4
52 * -XX:-TieredCompilation
|