JDK-8273498 : compiler/c2/Test7179138_1.java timed out
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,windows
  • CPU: x86_64
  • Submitted: 2021-09-08
  • Updated: 2021-10-08
  • Resolved: 2021-09-09
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 11 JDK 17 JDK 18
11.0.14-oracleFixed 17.0.2Fixed 18 b15Fixed
Related Reports
Relates :  
Sub Tasks
JDK-8273516 :  
Description
The following test timed out in the JDK18 CI:

compiler/c2/Test7179138_1.java

Here's a snippet from the log file:

#section:main
----------messages:(6/513)----------
command: main -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+StressIGVN -XX:RepeatCompilation=100 compiler.c2.Test7179138_1
reason: User specified action: run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+StressIGVN -XX:RepeatCompilation=100 compiler.c2.Test7179138_1 
Mode: othervm [/othervm specified]
Timeout information:
--- Timeout information end.
elapsed time (seconds): 1303.943
----------configuration:(0/0)----------
----------System.out:(1/28)----------
Timeout refired 1200 times
----------System.err:(0/0)----------
----------rerun:(53/5416)*----------

<snip>

result: Error. Program `c:\ade\mesos\work_dir\jib-master\install\jdk-18+14-734\windows-x64-debug.jdk\jdk-18\fastdebug\bin\java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1303928ms).

Comments
Fix Request (11u): Should get backported for parity with 11.0.14-oracle. Follow-up fix for JDK-8271341. Fix from 17u applies cleanly (not problem listed in 11u, either, see previous comment).
07-10-2021

Fix request (17u): This fixes a test bug that was introduced by JDK-8271341. The fix is low risk and has been tested in the JDK 18 for a while and with tier1-3 in JDK 17u. The patch did not apply cleanly because I had to omit the changes to the ProblemList (the test is not problem listed in JDK 17u).
29-09-2021

The ProblemListing is in jdk-18+14-759. The fix for the bug is in jdk-18+15-769.
09-09-2021

Changeset: c81690d7 Author: Tobias Hartmann <thartmann@openjdk.org> Date: 2021-09-09 13:54:47 +0000 URL: https://git.openjdk.java.net/jdk/commit/c81690d7166c32caff6ef3a55fe9b157049e2b56
09-09-2021

jdk-18+14-734-tier7 now has a single sighting (so far) on linux-x64. Not as noisy as win-x64, but disappointing none the less since I've already ProblemListed the test on win-x64...
09-09-2021

7 instances (so far) on Win-X64 in jdk-18+14-734-tier7. This is rather noisy.
09-09-2021

The test task's JVM args for jdk-18+14-738-tier6 sighting are: -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation
08-09-2021

ILW = Test times out (test bug), single test with -Xcomp at tier6, no workaround = MLH = P4
08-09-2021

I think the problem is the newly added RepeatCompilation=100 which leads to an extrem slowdown of the test (especially with -Xcomp). Marking this as test bug.
08-09-2021

jdk-18+14-734-tier6 includes the following fix: JDK-8271341 Opcode() != Op_If && Opcode() != Op_RangeCheck) || outcnt() == 2 assert failure with Test7179138_1.java for the same test. [~roland] do you mind taking a look at this test failure?
08-09-2021

The test task's JVM args for the jdk-18+14-734-tier6 sighting are: -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation
08-09-2021