hotspot/test/compiler/6636138/Test2.java
changeset 2864 1262819e8925
parent 2535 63a54cec2848
child 3799 6eddf8400cbc
equal deleted inserted replaced
2745:60853c6a93b7 2864:1262819e8925
    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;