Skip to content

Commit

Permalink
8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.j…
Browse files Browse the repository at this point in the history
…ava subtest

8297367: disable TestRedirectLinks.java in slowdebug mode
8297369: disable Fuzz.java in slowdebug mode

Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik
  • Loading branch information
Daniel D. Daugherty committed Dec 2, 2022
1 parent 562bc17 commit 6e54705
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
* -Xbatch -XX:TieredStopAtLevel=1
* -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
*
* @run main/othervm -Xmx8g
* @run main/othervm/timeout=180 -Xmx8g
* -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnCompilationFailure -XX:+WhiteBoxAPI -Xbootclasspath/a:.
* -Xbatch -XX:-TieredCompilation
* -javaagent:basicAgent.jar GetObjectSizeIntrinsicsTest GetObjectSizeIntrinsicsTest large
Expand Down
7 changes: 7 additions & 0 deletions test/jdk/jdk/internal/vm/Continuation/Fuzz.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
import jdk.test.lib.Utils;
import jdk.test.whitebox.WhiteBox;

import jdk.test.lib.Platform;
import jtreg.SkippedException;

public class Fuzz implements Runnable {
static final boolean VERIFY_STACK = true; // could add significant time
static final boolean FILE = true;
Expand All @@ -84,6 +87,10 @@ public class Fuzz implements Runnable {
static final Path TEST_DIR = Path.of(System.getProperty("test.src", "."));

public static void main(String[] args) {
if (Platform.isSlowDebugBuild() && Platform.isOSX() && Platform.isAArch64()) {
throw new SkippedException("Test is unstable with slowdebug bits "
+ "on macosx-aarch64");
}
warmup();
for (int compileLevel : new int[]{4}) {
for (boolean compileRun : new boolean[]{true}) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
* @bug 8190312
* @summary test redirected URLs for -link
* @library /tools/lib ../../lib
* @library /test/lib
* @modules jdk.compiler/com.sun.tools.javac.api
* jdk.compiler/com.sun.tools.javac.main
* jdk.javadoc/jdk.javadoc.internal.api
* jdk.javadoc/jdk.javadoc.internal.tool
* @build toolbox.ToolBox toolbox.JavacTask javadoc.tester.*
* @build jtreg.SkippedException
* @build jdk.test.lib.Platform
* @run main TestRedirectLinks
*/

Expand Down Expand Up @@ -66,12 +69,18 @@
import toolbox.JavacTask;
import toolbox.ToolBox;

import jdk.test.lib.Platform;
import jtreg.SkippedException;

public class TestRedirectLinks extends JavadocTester {
/**
* The entry point of the test.
* @param args the array of command line arguments.
*/
public static void main(String... args) throws Exception {
if (Platform.isSlowDebugBuild()) {
throw new SkippedException("Test is unstable with slowdebug bits");
}
TestRedirectLinks tester = new TestRedirectLinks();
tester.runTests();
}
Expand Down

1 comment on commit 6e54705

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.