JDK-8351231 : Test TestClone.java#generational-small-card-size intermittent timed out
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 25
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86_64,aarch64
  • Submitted: 2025-03-05
  • Updated: 2025-03-09
Related Reports
Causes :  
Description
The newly added test gc/shenandoah/compiler/TestClone.java#generational-small-card-size imtermittent timed out with release build on linux x64.

The jstack output snippet:
"main" #3 [527921] prio=5 os_prio=0 cpu=61.36ms elapsed=480.28s tid=0x00007fcc1c0b88f0 nid=527921 waiting on condition  [0x00007fcc21b9b000]
   java.lang.Thread.State: RUNNABLE
    at java.util.zip.ZipFile.<init>(java.base@25-internal/ZipFile.java:201)
    at java.util.zip.ZipFile.<init>(java.base@25-internal/ZipFile.java:148)
    at java.util.jar.JarFile.<init>(java.base@25-internal/JarFile.java:333)
    at jdk.internal.loader.URLClassPath$JarLoader.getJarFile(java.base@25-internal/URLClassPath.java:682)
    at jdk.internal.loader.URLClassPath$JarLoader.ensureOpen(java.base@25-internal/URLClassPath.java:653)
    at jdk.internal.loader.URLClassPath$JarLoader.<init>(java.base@25-internal/URLClassPath.java:622)
    at jdk.internal.loader.URLClassPath.getLoader(java.base@25-internal/URLClassPath.java:465)
    at jdk.internal.loader.URLClassPath.getLoader(java.base@25-internal/URLClassPath.java:409)
    - locked <0x00000000fff00920> (a jdk.internal.loader.URLClassPath)
    at jdk.internal.loader.URLClassPath.getResource(java.base@25-internal/URLClassPath.java:331)
    at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@25-internal/BuiltinClassLoader.java:688)
    at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@25-internal/BuiltinClassLoader.java:620)
    - locked <0x00000000fff00910> (a java.lang.Object)

Comments
This failure was observed these two days. The git commit id: a90f323d05f1c90767823b8729b124de0bead265 commit a90f323d05f1c90767823b8729b124de0bead265 Author: Xiaolong Peng <xpeng@openjdk.org> Date: Sat Mar 8 12:28:34 2025 +0000 8349705: java.net.URI.scanIPv4Address throws unnecessary URISyntaxException Reviewed-by: dfuchs
09-03-2025

> have you seen this in builds that have https://bugs.openjdk.org/browse/JDK-8349094? I noticed that JDK-8349094 has been merged 3 days ago, but I was observed this failure several times yesterday. And I have check mine personly fork(git@github.com:sendaoYan/jdk-ysd.git jbs8351233 branch) which already have JDK-8349094 fixed but also observed this failure. I will continue observed this failre will be reprodudeable or not.
07-03-2025

[~syan], have you seen this in builds that have https://bugs.openjdk.org/browse/JDK-8349094? JDK-8349094 fixes a few different bugs that could have Shenandoah threads prevent the JVM from shutting down.
06-03-2025

Fails since JDK-8347804
06-03-2025

Maybe we should problemlist this test before the root cause of timed out fixed.
06-03-2025