RFR: 8361040: compiler/codegen/TestRedundantLea.java#StringInflate fails with failed IR rules

Christian Hagedorn chagedorn at openjdk.org
Mon Jul 7 11:13:39 UTC 2025


On Mon, 30 Jun 2025 14:44:03 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

> `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

Looks good, thanks for fixing it!

-------------

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26046#pullrequestreview-2993334779


More information about the hotspot-compiler-dev mailing list