RFR: 8335390: C2 MergeStores: wrong result with Unsafe [v2]

Christian Hagedorn chagedorn at openjdk.org
Mon Jul 1 13:48:19 UTC 2024


On Mon, 1 Jul 2024 13:39:58 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> In JDK23, I introduced `MergeStores` [JDK-8318446](https://bugs.openjdk.org/browse/JDK-8318446) https://github.com/openjdk/jdk/pull/16245.
>> 
>> I now realized that the pointer-parsing has some issues with `Unsafe` stores. Thus, I disable the optimization for those for now.
>> 
>> **Future Work**
>> In [JDK-8335392](https://bugs.openjdk.org/browse/JDK-8335392), I plan to redesign the pointer-parsing, and enable more features, including `Unsafe` stores.
>
> Emanuel Peter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   run test only on 64-bit

Marked as reviewed by chagedorn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19964#pullrequestreview-2151446788


More information about the hotspot-compiler-dev mailing list