File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
jdk/internal/vm/Continuation
langtools/jdk/javadoc/doclet/testLinkOption Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 288288 * -Xbatch -XX:TieredStopAtLevel=1
289289 * -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
290290 *
291- * @run main/othervm -Xmx8g
291+ * @run main/othervm/timeout=180 -Xmx8g
292292 * -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure -XX:+WhiteBoxAPI -Xbootclasspath/a:.
293293 * -Xbatch -XX:-TieredCompilation
294294 * -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
Original file line number Diff line number Diff line change 7272import jdk .test .lib .Utils ;
7373import jdk .test .whitebox .WhiteBox ;
7474
75+ import jdk .test .lib .Platform ;
76+ import jtreg .SkippedException ;
77+
7578public class Fuzz implements Runnable {
7679 static final boolean VERIFY_STACK = true ; // could add significant time
7780 static final boolean FILE = true ;
@@ -84,6 +87,10 @@ public class Fuzz implements Runnable {
8487 static final Path TEST_DIR = Path .of (System .getProperty ("test.src" , "." ));
8588
8689 public static void main (String [] args ) {
90+ if (Platform .isSlowDebugBuild () && Platform .isOSX () && Platform .isAArch64 ()) {
91+ throw new SkippedException ("Test is unstable with slowdebug bits "
92+ + "on macosx-aarch64" );
93+ }
8794 warmup ();
8895 for (int compileLevel : new int []{4 }) {
8996 for (boolean compileRun : new boolean []{true }) {
Original file line number Diff line number Diff line change 2626 * @bug 8190312
2727 * @summary test redirected URLs for -link
2828 * @library /tools/lib ../../lib
29+ * @library /test/lib
2930 * @modules jdk.compiler/com.sun.tools.javac.api
3031 * jdk.compiler/com.sun.tools.javac.main
3132 * jdk.javadoc/jdk.javadoc.internal.api
3233 * jdk.javadoc/jdk.javadoc.internal.tool
3334 * @build toolbox.ToolBox toolbox.JavacTask javadoc.tester.*
35+ * @build jtreg.SkippedException
36+ * @build jdk.test.lib.Platform
3437 * @run main TestRedirectLinks
3538 */
3639
6669import toolbox .JavacTask ;
6770import toolbox .ToolBox ;
6871
72+ import jdk .test .lib .Platform ;
73+ import jtreg .SkippedException ;
74+
6975public class TestRedirectLinks extends JavadocTester {
7076 /**
7177 * The entry point of the test.
7278 * @param args the array of command line arguments.
7379 */
7480 public static void main (String ... args ) throws Exception {
81+ if (Platform .isSlowDebugBuild ()) {
82+ throw new SkippedException ("Test is unstable with slowdebug bits" );
83+ }
7584 TestRedirectLinks tester = new TestRedirectLinks ();
7685 tester .runTests ();
7786 }
You can’t perform that action at this time.
0 commit comments