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


On Tue, 1 Jul 2025 12:42:05 GMT, Matthias Baesken <mbaesken 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
>
> With your patch included, the issue is gone on our Linux Alpine test machine.

@MBaesken, thank you for testing.

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

PR Comment: https://git.openjdk.org/jdk/pull/26046#issuecomment-3023862806


More information about the hotspot-compiler-dev mailing list