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
This commit is contained in:
Daniel D. Daugherty 2022-12-02 22:29:21 +00:00
parent 562bc171b9
commit 6e5470525d
3 changed files with 17 additions and 1 deletions
test
jdk
java/lang/instrument
jdk/internal/vm/Continuation
langtools/jdk/javadoc/doclet/testLinkOption

@ -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

@ -72,6 +72,9 @@ import jdk.internal.vm.annotation.DontInline;
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;
@ -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}) {

@ -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
*/
@ -66,12 +69,18 @@ import javadoc.tester.JavadocTester;
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();
}