equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8155643 |
26 * @bug 8155643 |
27 * @summary Test Object.clone() intrinsic if ReduceInitialCardMarks is disabled. |
27 * @summary Test Object.clone() intrinsic if ReduceInitialCardMarks is disabled. |
28 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:CompileOnly=TestObjectArrayClone.test -XX:-ReduceInitialCardMarks TestObjectArrayClone |
28 * |
|
29 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-ReduceInitialCardMarks |
|
30 * -XX:CompileCommand=compileonly,compiler.arraycopy.TestObjectArrayClone::test |
|
31 * compiler.arraycopy.TestObjectArrayClone |
29 */ |
32 */ |
|
33 |
|
34 package compiler.arraycopy; |
|
35 |
30 public class TestObjectArrayClone { |
36 public class TestObjectArrayClone { |
31 |
37 |
32 public static TestObjectArrayClone[] test(TestObjectArrayClone[] arr) { |
38 public static TestObjectArrayClone[] test(TestObjectArrayClone[] arr) { |
33 return arr.clone(); |
39 return arr.clone(); |
34 } |
40 } |