Skip to content

Commit 6e54705

Browse files
author
Daniel D. Daugherty
committed
8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest
8297367: disable TestRedirectLinks.java in slowdebug mode 8297369: disable Fuzz.java in slowdebug mode Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik
1 parent 562bc17 commit 6e54705

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
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

test/jdk/jdk/internal/vm/Continuation/Fuzz.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
import jdk.test.lib.Utils;
7373
import jdk.test.whitebox.WhiteBox;
7474

75+
import jdk.test.lib.Platform;
76+
import jtreg.SkippedException;
77+
7578
public 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}) {

test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@
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

@@ -66,12 +69,18 @@
6669
import toolbox.JavacTask;
6770
import toolbox.ToolBox;
6871

72+
import jdk.test.lib.Platform;
73+
import jtreg.SkippedException;
74+
6975
public 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
}

0 commit comments

Comments
 (0)