8163999: Workaround intermittent failures of TreePosTest.java due to C2 memory usage
authordarcy
Mon, 15 Aug 2016 13:42:34 -0700
changeset 40499 ac4c100be583
parent 40498 f54048be4a57
child 40500 f293dbb81a53
8163999: Workaround intermittent failures of TreePosTest.java due to C2 memory usage Reviewed-by: jjg
langtools/test/tools/javac/tree/TreePosTest.java
langtools/test/tools/javac/varargs/7043922/T7043922.java
--- a/langtools/test/tools/javac/tree/TreePosTest.java	Mon Aug 15 11:39:53 2016 -0700
+++ b/langtools/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/langtools/test/tools/javac/varargs/7043922/T7043922.java	Mon Aug 15 11:39:53 2016 -0700
+++ b/langtools/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;