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

Emanuel Peter epeter at openjdk.org
Wed Oct 29 14:33:01 UTC 2025


On Wed, 29 Oct 2025 14:24:51 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> @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.

@dougxc @tkrodriguez @woess Can we guard some of the logic in `#if INCLUDE_JVMCI` though?

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

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


More information about the hotspot-compiler-dev mailing list