JDK-8255011 : [TESTBUG] compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java timed out
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: x86_64
  • Submitted: 2020-10-19
  • Updated: 2024-12-13
  • Resolved: 2020-11-10
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 16
16 b24Fixed
Related Reports
Relates :  
Description
The following test failed in the JDK16 CI:

compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java

Here's a snippet from the log file:

#section:main
----------messages:(7/886)----------
command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+IgnoreUnrecognizedVMOptions -XX:-DeoptimizeRandom -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method -XX:+SegmentedCodeCache compiler.codecache.stress.UnexpectedDeoptimizationAllTest
reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+IgnoreUnrecognizedVMOptions -XX:-DeoptimizeRandom -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method -XX:+SegmentedCodeCache compiler.codecache.stress.UnexpectedDeoptimizationAllTest 
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
Timeout information:
--- Timeout information end.
elapsed time (seconds): 1215.148
----------configuration:(4/115)----------
Boot Layer
  add modules: java.base java.management   
  add exports: java.base/jdk.internal.misc ALL-UNNAMED

----------System.out:(3/158)----------
CompileCommand: dontinline compiler/codecache/stress/Helper$TestCase.method
Timeout refired 1200 times
Not enough time to continue execution. Interrupted.
----------System.err:(1/16)----------
STATUS:Passed.
----------rerun:(59/7037)*----------

<snip>

result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-16+21-1125\windows-x64-debug.jdk\jdk-16\fastdebug\bin\java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1215124ms).
Comments
Changeset: e281b135 Author: Nils Eliasson <neliasso@openjdk.org> Date: 2020-11-10 11:25:53 +0000 URL: https://github.com/openjdk/jdk/commit/e281b135
10-11-2020

I just saw that another CodeCacheStressRunner-test (UnexpectedDeoptimizationTest.java) timed out on the same day - October 22nd. Maybe the machine was in a bad state. https://mach5.us.oracle.com/mdash/testHistory?search=name%3Acompiler%2Fcodecache%2Fstress%2FUnexpectedDeoptimizationTest.java%20AND%20status%3Afailed%20AND%20reasons.details%3A*timed*out*timeout*
06-11-2020

ILW = Test times out, intermittent with single test and -Xcomp (only happened once), no workaround = MLH = P4
20-10-2020