On Wed, 26 Jun 2024 14:38:04 GMT, Claes Redestad <redes...@openjdk.org> wrote:
>> @wenshao @cl4es I think this use-case is quite a valid one, and deserves an >> extension. I filed: >> >> [JDK-8335113](https://bugs.openjdk.org/browse/JDK-8335113): C2 MergeStores: >> allow merging of putChar and other larger stores on smaller array elements > >> I filed: >> >> [JDK-8335113](https://bugs.openjdk.org/browse/JDK-8335113): C2 MergeStores: >> allow merging of putChar and other larger stores on smaller array elements > > Great! Should we hold off on this optimization and see if we can avoid the > need for `Unsafe` here - or go ahead integrating this PR and leave it to > JDK-8335113 to revert any no-longer-needed changes made here? @cl4es I would wait, to be honest. I'm currently quite busy, but I hope I can do something here in the next 2-3 weeks. ------------- PR Comment: https://git.openjdk.org/jdk/pull/19626#issuecomment-2191882317