RFR: 8373343: C2: verify AddP base input only set for heap addresses [v5]

Christian Hagedorn chagedorn at openjdk.org
Mon Jan 19 14:57:56 UTC 2026


On Mon, 12 Jan 2026 12:11:51 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> The base input of `AddP` is expected to only be set for heap accesses
>> but I noticed some inconsistencies so I added an assert in the `AddP`
>> constructor and fixed issues that it caught. AFAFICT, the
>> inconsistencies shouldn't create issues.
>
> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update src/hotspot/share/opto/macroArrayCopy.cpp
>   
>   Co-authored-by: Dean Long <17332032+dean-long at users.noreply.github.com>

Sorry for the delay, testing looked good!

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

PR Comment: https://git.openjdk.org/jdk/pull/28769#issuecomment-3768723325


More information about the hotspot-compiler-dev mailing list