RFR: 8361040: compiler/codegen/TestRedundantLea.java#StringInflate fails with failed IR rules
    Manuel Hässig 
    mhaessig at openjdk.org
       
    Tue Jul  1 12:48:19 UTC 2025
    
    
  
`TestRedundantLea.java#StringInflate` failed on Alpine Linux because fewer `DecodeHeapOop_not_null`s than expected are generated even though the expected reduction is still present. This PR fixes this.
Unfortunately, this fix makes the test less precise. I filed [JDK-8361045](https://bugs.openjdk.org/browse/JDK-8361045) to fix this when the IR-framework allows for it.
Testing:
 - [x] Github Actions
 - [x] tier1, tier2 plus Oracle internal testing
 - [x] `TestRedundantLea.java` on Alpine Linux
-------------
Commit messages:
 - Fix test
Changes: https://git.openjdk.org/jdk/pull/26046/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26046&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361040
  Stats: 12 lines in 1 file changed: 2 ins; 6 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26046.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26046/head:pull/26046
PR: https://git.openjdk.org/jdk/pull/26046
    
    
More information about the hotspot-compiler-dev
mailing list