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

Ioi Lam iklam at openjdk.org
Tue Oct 14 03:11:40 UTC 2025


The test CDSMapTest.java usually finished on Windows for about 1 minuet. On other platforms it takes much less time.

Since [JDK-8260555](https://bugs.openjdk.org/browse/JDK-8260555) (Change the default TIMEOUT_FACTOR from 4 to 1), we saw only one timeout where the elapsed time is over the 120 sec default timeout value.

For sanity, I changed the timeout to 240 sec, to avoid future intermittent timeouts.

I also changed the related test AOTMapTest.java.

-------------

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

Changes: https://git.openjdk.org/jdk/pull/27781/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27781&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367449
  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/27781.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27781/head:pull/27781

PR: https://git.openjdk.org/jdk/pull/27781


More information about the hotspot-runtime-dev mailing list