JDK-8260684 : vmTestbase/gc/gctests/PhantomReference/phantom002/TestDescription.java timed out
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: x86_64
  • Submitted: 2021-01-30
  • Updated: 2021-07-15
  • Resolved: 2021-07-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 18
17 b30Fixed 18Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
The following test timed out in the JDK17 CI:

vmTestbase/gc/gctests/PhantomReference/phantom002/TestDescription.java

Here's a snippet from the log file:

#section:main
----------messages:(6/305)----------
command: main gc.gctests.PhantomReference.phantom001.phantom001 -ms high
reason: User specified action: run main/othervm gc.gctests.PhantomReference.phantom001.phantom001 -ms high 
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
elapsed time (seconds): 2117.919
----------configuration:(0/0)----------
----------System.out:(6478/97133)----------
Stress time: 300 seconds
Stress iterations factor: 1
Stress threads factor: 1
Stress runs factor: 1
Max memory: 2051014656
Sleep time: 500
Iterations: 0
Number of threads: 24
Run GC thread: false
Run mem diag thread: false
Run forever: false
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@29fc4e2d,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@263b3f67,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@6dfd90ab,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@64abe810,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@50934311,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@2fac8e63,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@2e552bf5,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@1585ad47,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@5fc4ef2d,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@14d0bd20,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@135d36cc,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@2b8a5e75,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@53cf71ae,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@4267ff4a,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@38f65a9c,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@4176c201,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@691c8980,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@147cb646,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@1e543cef,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@69c583ee,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@641857df,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@15a7039c,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@2a2be683,5,MainThreadGroup]
Starting Thread[gc.gctests.PhantomReference.phantom001.phantom001$Test@6fb4dadb,5,MainThreadGroup]
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
iteration 0
For random generator using seed: 6345863065259180614
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=6345863065259180614" to command line.
iteration 1
iteration 1

<snip>

iteration 373
iteration 374
iteration 354
iteration 362
Timeout refired 1200 times
----------System.err:(0/0)----------
----------rerun:(42/5991)*----------

<snip>

result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-17+8-486\windows-x64.jdk\jdk-17\bin\java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1212959ms).

Here are the test task's JVM args:

-XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:-UseCompressedOops
Comments
Changeset: 6c76e771 Author: Kim Barrett <kbarrett@openjdk.org> Date: 2021-07-01 16:09:30 +0000 URL: https://git.openjdk.java.net/jdk17/commit/6c76e771580815c7999b2f5cd633659be99ce4a0
01-07-2021

Might be a duplicate of https://bugs.openjdk.java.net/browse/JDK-8258947
02-03-2021

Interesting. We've recently seen a few timeouts when running vmTestbase on Windows with ZGC. This time we timeout with G1.
01-02-2021