JDK-8273284 : runtime/cds/serviceability/ReplaceCriticalClasses.java timed out
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2021-09-02
  • Updated: 2021-10-15
  • Resolved: 2021-10-15
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 18
18Resolved
Related Reports
Relates :  
Description
The following test timed out in the JDK18 CI:

runtime/cds/serviceability/ReplaceCriticalClasses.java

Here's the last part of the log file:

Test case[13] = "-notshared sun/util/locale/BaseLocale"
Command line: [/mesos/work_dir/jib-master/install/jdk-18+13-659/macosx-x64-debug.jdk/jdk-18/fastdebug/bin/java -cp /mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S106356/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0e77d5fd-73b0-4e93-a164-65cce5e5c1c3/runs/07c4a7dd-5fec-484f-951f-7e3ca49c7b99/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/runtime/cds/serviceability/ReplaceCriticalClasses.d:/mesos/work_dir/jib-master/install/jdk-18+13-659/src.full/open/test/hotspot/jtreg/runtime/cds/serviceability:/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S106356/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0e77d5fd-73b0-4e93-a164-65cce5e5c1c3/runs/07c4a7dd-5fec-484f-951f-7e3ca49c7b99/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/classes/3/test/lib:/mesos/work_dir/jib-master/install/jdk-18+13-659/src.full/open/test/lib:/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=3.125 -Djava.io.tmpdir=/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S106356/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0e77d5fd-73b0-4e93-a164-65cce5e5c1c3/runs/07c4a7dd-5fec-484f-951f-7e3ca49c7b99/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/tmp -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+VerifyOops -Xshare:auto -Dtest.timeout.factor=10.0 -XX:SharedArchiveFile=ReplaceCriticalClasses.jsa -showversion -Xlog:cds -XX:+UnlockDiagnosticVMOptions -agentlib:SimpleClassFileLoadHook=sun/util/locale/BaseLocale,XXX,XXX -XX:+WhiteBoxAPI -Xbootclasspath/a:/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S106356/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0e77d5fd-73b0-4e93-a164-65cce5e5c1c3/runs/07c4a7dd-5fec-484f-951f-7e3ca49c7b99/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/2/whitebox.jar -Xlog:cds,cds+heap ReplaceCriticalClasses child -notshared sun/util/locale/BaseLocale ]
[2021-09-02T03:12:07.534507Z] Gathering output for process 9740
----------System.err:(0/0)----------
----------rerun:(44/7163)*----------

<snip>

result: Error. Program `/mesos/work_dir/jib-master/install/jdk-18+13-659/macosx-x64-debug.jdk/jdk-18/fastdebug/bin/java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1294320ms).

Comments
This bug cannot be reproduced after the fix for JDK-8273612.
15-10-2021

Likely caused by JDK-8273612
28-09-2021

ILW = MLM = P4
07-09-2021