changeset 3587:2bf73f8c25e0

8163999: Workaround intermittent failures of TreePosTest.java due to C2 memory usage Reviewed-by: jjg
author darcy
date Mon, 15 Aug 2016 13:42:34 -0700
parents ade1884e2a63
children e95034be7f05
files test/tools/javac/tree/TreePosTest.java test/tools/javac/varargs/7043922/T7043922.java
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/tree/TreePosTest.java	Mon Aug 15 11:39:53 2016 -0700
+++ b/test/tools/javac/tree/TreePosTest.java	Mon Aug 15 13:42:34 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -108,7 +108,7 @@
  *          jdk.compiler/com.sun.tools.javac.file
  *          jdk.compiler/com.sun.tools.javac.tree
  *          jdk.compiler/com.sun.tools.javac.util
- * @run main TreePosTest -q -r .
+ * @run main/othervm TreePosTest -q -r .
  */
 public class TreePosTest {
     /**
--- a/test/tools/javac/varargs/7043922/T7043922.java	Mon Aug 15 11:39:53 2016 -0700
+++ b/test/tools/javac/varargs/7043922/T7043922.java	Mon Aug 15 13:42:34 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
  * @modules jdk.compiler/com.sun.tools.javac.api
  *          jdk.compiler/com.sun.tools.javac.file
  *          jdk.compiler/com.sun.tools.javac.util
+ * @run main/othervm T7043922
  */
 
 import com.sun.source.util.JavacTask;