Integrated: 8373343: C2: verify AddP base input only set for heap addresses

Roland Westrelin roland at openjdk.org
Thu Jan 22 10:40:52 UTC 2026


On Thu, 11 Dec 2025 15:31:55 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.

This pull request has now been integrated.

Changeset: 6e9256cb
Author:    Roland Westrelin <roland at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6e9256cb613c9a3594546a45975a81def2efcf46
Stats:     107 lines in 16 files changed: 29 ins; 9 del; 69 mod

8373343: C2: verify AddP base input only set for heap addresses

Reviewed-by: dlong, chagedorn, qamai

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

PR: https://git.openjdk.org/jdk/pull/28769


More information about the hotspot-compiler-dev mailing list