- 
    Type:
Enhancement
 - 
    Resolution: Unresolved
 - 
    Priority:
  P4                     
     - 
    Affects Version/s: 25
 - 
    Component/s: hotspot
 
                    Currently bool PhaseIdealLoop::is_counted_loop(), despite what the name suggests, also converts the loop, making calling it non-idempotent.
As discussed during the review of JDK-8336759 [0], this should be refactored into at least two functions. This issue is created as a dependency of JDK-8336759 due to its complexity and should be reviewed separately.
[0] https://github.com/openjdk/jdk/pull/22449#issuecomment-2520215899
As discussed during the review of JDK-8336759 [0], this should be refactored into at least two functions. This issue is created as a dependency of JDK-8336759 due to its complexity and should be reviewed separately.
[0] https://github.com/openjdk/jdk/pull/22449#issuecomment-2520215899
- blocks
 - 
                    
JDK-8336759 C2: int counted loop with long limit not recognized as counted loop
-         
     - Open
 
 -         
 
- links to
 - 
                    
        
        Review(master)
        openjdk/jdk/24458