JDK-8305740 : C2: add print statements to assert: Can't determine return type.
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-04-07
  • Updated: 2023-04-20
  • Resolved: 2023-04-17
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 21
21 b19Fixed
Related Reports
Relates :  
Description
I added this assert before the bailout, because it probably hides bugs. Now we have failure reports with JDK-8305185.

It is difficult to reproduce, so I'd like to add some print statements to get at least a bit of info.
Comments
Changeset: c0b4957f Author: Emanuel Peter <epeter@openjdk.org> Date: 2023-04-17 10:32:32 +0000 URL: https://git.openjdk.org/jdk/commit/c0b4957fcce530290fe3b1e730b593b6458285aa
17-04-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13385 Date: 2023-04-07 09:08:55 +0000
10-04-2023

https://github.com/openjdk/jdk/pull/13385
07-04-2023