JDK-8334442 : Temporarily disable return type assertion to reduce noise in testing
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23,24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-06-18
  • Updated: 2024-11-06
  • Resolved: 2024-06-18
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 23 JDK 24
23.0.2Fixed 24 b03Fixed
Description
Disable the following assertion in parse1.cpp temporarily, to reduce noise in the testing pipelines while the root cause of its failures is investigated in JDK-8305185:

assert(false) failed: Can't determine return type.

This assertion was added by JDK-8303951 to force the re-evaluation of compilation bailouts. The invariant violation it catches is harmless (other than potentially causing a performance degradation) because it leads to a compilation bailout.
Comments
Yes, I think that's reasonable.
09-10-2024

We see the assertion in our jdk23u tests as well . So should this be backported until the "real" issue is fixed?
09-10-2024

jdk23u backport request I would like to have the patch in jdk23u as well, because the issue is present there too. The backport is clean and low risk.
09-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk23u/pull/146 Date: 2024-10-09 11:48:25 +0000
09-10-2024

Changeset: 614b99a8 Author: Roberto CastaƱeda Lozano <rcastanedalo@openjdk.org> Date: 2024-06-18 09:48:31 +0000 URL: https://git.openjdk.org/jdk/commit/614b99a8f8360dc0a6a018f06fb336c6883f0f4a
18-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19762 Date: 2024-06-18 08:38:36 +0000
18-06-2024

ILW = Same as JDK-8305185 = P3
18-06-2024