diff --git a/test/hotspot/jtreg/runtime/cds/CDSMapTest.java b/test/hotspot/jtreg/runtime/cds/CDSMapTest.java index e38b68bdbcf..5a9fa82552b 100644 --- a/test/hotspot/jtreg/runtime/cds/CDSMapTest.java +++ b/test/hotspot/jtreg/runtime/cds/CDSMapTest.java @@ -27,7 +27,7 @@ * @summary Test the contents of -Xlog:aot+map * @requires vm.cds * @library /test/lib - * @run driver CDSMapTest + * @run driver/timeout=240 CDSMapTest */ import jdk.test.lib.cds.CDSOptions; diff --git a/test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTMapTest.java b/test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTMapTest.java index 438bfb22c9b..bcd2c71fea0 100644 --- a/test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTMapTest.java +++ b/test/hotspot/jtreg/runtime/cds/appcds/aotCache/AOTMapTest.java @@ -29,20 +29,20 @@ * @library /test/lib /test/hotspot/jtreg/runtime/cds * @build AOTMapTest * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar AOTMapTestApp - * @run driver AOTMapTest AOT --two-step-training + * @run driver/timeout=240 AOTMapTest AOT --two-step-training */ /** * @test id=dynamic * @bug 8362566 - * @summary Test the contents of -Xlog:aot+map with AOT workflow + * @summary Test the contents of -Xlog:aot+map with dynamic CDS archive * @requires vm.cds.supports.aot.class.linking * @library /test/lib /test/hotspot/jtreg/runtime/cds * @build jdk.test.whitebox.WhiteBox * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox * @build AOTMapTest * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar AOTMapTestApp - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. AOTMapTest DYNAMIC + * @run main/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. AOTMapTest DYNAMIC */