Integrated: 8335390: C2 MergeStores: wrong result with Unsafe

Emanuel Peter epeter at openjdk.org
Tue Jul 2 08:23:27 UTC 2024


On Mon, 1 Jul 2024 08:38:26 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.

This pull request has now been integrated.

Changeset: 9046d7ae
Author:    Emanuel Peter <epeter at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9046d7aee3082b6cbf79876efc1c508cb893caad
Stats:     141 lines in 3 files changed: 138 ins; 0 del; 3 mod

8335390: C2 MergeStores: wrong result with Unsafe

Reviewed-by: thartmann, chagedorn, kvn

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

PR: https://git.openjdk.org/jdk/pull/19964


More information about the hotspot-compiler-dev mailing list