8367449: Test runtime/cds/CDSMapTest.java timed out but passed

Reviewed-by: dholmes
This commit is contained in:
Ioi Lam 2025-10-14 20:03:18 +00:00
parent 622a611c33
commit ad2d04733b
2 changed files with 4 additions and 4 deletions

View File

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

View File

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