JDK-8236493 : C2: Inconsistent known instance type information after EA
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,12,13,14,15
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2019-12-23
  • Updated: 2023-10-19
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
JDK-8233164 fixed a problem where the type of a CheckCastPP was updated during EA (because the allocation was found to be non-escaping) but a Load and a subsequent CastPP user were not updated. This lead to incorrect re-wiring of memory edges.

More such problems potentially exist, see discussion in this thread:
https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2019-December/036622.html
Comments
Found more problems after sending this for review. Prototype: http://cr.openjdk.java.net/~thartmann/8236493/webrev.01/
17-01-2020

http://cr.openjdk.java.net/~thartmann/8236493/webrev.00/ https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-January/036751.html
17-01-2020

ILW = Crash during compilation or incorrect compiled code, no known issues, disable EA or compilation of affected method = HLM = P3
23-12-2019