[lworld] Integrated: 8377680: [lworld] [BACKOUT] Improve acmp expansion

Quan Anh Mai qamai at openjdk.org
Thu Feb 12 03:21:30 UTC 2026


On Wed, 11 Feb 2026 16:54:40 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> Hi,
> 
> This PR backs out the changes in #2066. While the failure is due to the dead `MergeMemNode` not collected by igvn, investigating the issue reveals to me that with `-XX:+StressReflectiveCode`, `GraphKit::gen_checkcast` can buffer the `InlineTypeNode`. This is unexpected as the code in `InlineTypeNode::emit_substitutability_check` does not expect the expansion to generate new memory nodes.
> 
> Please review, thanks a lot.

This pull request has now been integrated.

Changeset: 3a1c2b7b
Author:    Quan Anh Mai <qamai at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/3a1c2b7bf58ea89e8bd2396557294c65c00a2d13
Stats:     571 lines in 7 files changed: 91 ins; 377 del; 103 mod

8377680: [lworld] [BACKOUT] Improve acmp expansion

Reviewed-by: mchevalier, thartmann

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

PR: https://git.openjdk.org/valhalla/pull/2080


More information about the valhalla-dev mailing list