[jdk17] RFR: 8269230: C2: main loop in micro benchmark never executed
    Roland Westrelin 
    roland at openjdk.java.net
       
    Tue Jun 29 14:12:59 UTC 2021
    
    
  
On Mon, 28 Jun 2021 21:58:15 GMT, Dean Long <dlong at openjdk.org> wrote:
> What does the code transform to after range check elimination?
The main loop body has no test in the final code (with the proposed fix) and performance is on par with other micro benchmarks that this benchmark is compared with.
RCE has logic to handle signed comparisons so I expect that RCE is what removes the i < max_jint and i > min_jint from the main loop body.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/156
    
    
More information about the hotspot-compiler-dev
mailing list