23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8024070 |
26 * @bug 8024070 |
27 * @summary Test that type speculation doesn't cause incorrect execution |
27 * @summary Test that type speculation doesn't cause incorrect execution |
28 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:TypeProfileLevel=222 -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation TypeSpeculation |
28 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation TypeSpeculation |
29 * |
29 * |
30 */ |
30 */ |
31 |
31 |
32 public class TypeSpeculation { |
32 public class TypeSpeculation { |
33 |
33 |