JDK-8334974 : C2: Bailout in Loop Unswitching with control dependencies on predicates is too strong
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-06-25
  • Updated: 2024-11-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
Blocks :  
Description
While working on the full fix for Assertion Predicates (JDK-8288981), I've noticed that the originally added bailout fix in Loop Unswitching with predicate dependencies (JDK-8235984) is too strong. We can still perform Loop Unswitching when we just skip cloning Parse Predicates down.

However, when doing that we might miss to rewire and update some control dependencies down the line. I therefore suggest to only relax this bailout once JDK-8288981 is in.