JDK-8327963 : [Umbrella] Incorrect result of C2 compiled code since JDK-8237581
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 15,17,21,23,24
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-03-12
  • Updated: 2024-07-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 24
24Unresolved
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Sub Tasks
JDK-8324739 :  
JDK-8326992 :  
JDK-8327012 :  
JDK-8327868 :  
JDK-8329535 :  
JDK-8329536 :  
JDK-8329984 :  
JDK-8336293 :  
JDK-8336701 :  
Description
We recently got several reports of incorrect results of C2 compiled code since JDK-8237581 in JDK 15 b10. They all seem to have the same root cause, so I moved them to subtasks of this issue and closed them as duplicates. The regression tests provided in these reports should be added to the final fix.

If investigation shows that some of the issues are independent, they should be converted to separate bugs again.
Comments
Assigning to Roland who offered to take it over. Thanks a lot, Roland!
18-07-2024

https://github.com/openjdk/jdk/compare/master...rwestrel:jdk:JDK-8336293 is the fix I'm considering.
18-07-2024

Deferring from JDK23 -> JDK24, since this is an older issue (at least JDK15)
16-05-2024

Draft PR, with problem analysis: https://github.com/openjdk/jdk/pull/18265
15-05-2024

Added JDK-8329535 and JDK-8329536 which could also be traced back to JDK-8237581.
03-04-2024

ILW = Same as subtasks = P3
12-03-2024