JDK-8370132 : C2: Enforce post-loop opts phase
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-10-17
  • Updated: 2025-10-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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Some optimizations (like ReachabilityFence support introduced by JDK-8290892) are allowed only when loop optimizations are over.

Introduce validation logic to enforce no loop optimizations mode and use it to guarantee that no loop optimizations happen after ReachabiltyFence nodes are eliminated.