RFR: 8370405: C2: mismatched store from MergeStores wrongly scalarized in allocation elimination

Doug Simon dnsimon at openjdk.org
Wed Oct 29 14:27:24 UTC 2025


On Wed, 29 Oct 2025 12:45:54 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Right. I though I would just put an assert here, and if none of our testing fails, we can eventually remove it.
>
> @dougxc It seems in all our testing this assert does not fail. Do you think it may impact Graal?

This is to support Truffle where `long` and `double` fields can be encoded in `int[]` arrays. It's a bit like https://bugs.openjdk.org/browse/JDK-8231756 where fields are encoded in `byte[]` arrays. @tkrodriguez or @woess can you please confirm we still need this.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27997#discussion_r2473429050


More information about the hotspot-compiler-dev mailing list