equal
deleted
inserted
replaced
27 * @summary SuperWord::co_locate_pack(Node_List* p) generates memory graph that leads to memory order violation. |
27 * @summary SuperWord::co_locate_pack(Node_List* p) generates memory graph that leads to memory order violation. |
28 * |
28 * |
29 * @run main/othervm -server -Xbatch -XX:CompileOnly=Test2.shift Test2 |
29 * @run main/othervm -server -Xbatch -XX:CompileOnly=Test2.shift Test2 |
30 */ |
30 */ |
31 |
31 |
32 class Test2 { |
32 public class Test2 { |
33 |
33 |
34 public static void init(int src[]) { |
34 public static void init(int src[]) { |
35 // Initialize the array |
35 // Initialize the array |
36 for (int i = 0; i < src.length; i++) |
36 for (int i = 0; i < src.length; i++) |
37 src[i] = i; |
37 src[i] = i; |