Print this page
rev 4502 : 7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
Summary: Small changes to hotspot tests to remove  "-server" and replace with ${TESTVMOPTS}
Reviewed-by: kvn

Split Split Close
Expand all
Collapse all
          --- old/test/compiler/6636138/Test1.java
          +++ new/test/compiler/6636138/Test1.java
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20   20   * or visit www.oracle.com if you need additional information or have any
  21   21   * questions.
  22   22   */
  23   23  
  24   24  /**
  25   25   * @test
  26   26   * @bug 6636138
  27   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=Test1.init Test1
       29 + * @run main/othervm -Xbatch -XX:CompileOnly=Test1.init Test1
  30   30   */
  31   31  
  32   32  public class Test1 {
  33   33  
  34   34      public static void init(int src[], int [] dst, int[] ref) {
  35   35          // initialize the arrays
  36   36          for (int i =0; i<src.length; i++) {
  37   37              src[i] =  i;
  38   38              dst[i] = 2;      // yes, dst[i] needed(otherwise src[i] will be replaced with i)
  39   39              ref[i] = src[i]; // src[i] depends on the store src[i]
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX