RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v37]

Per Minborg pminborg at openjdk.org
Thu Apr 3 12:45:06 UTC 2025


On Wed, 12 Mar 2025 14:14:13 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> It's true that the storage can be flatter here -- that said, this can also be done as a later refactoring. One advantage of doing things the way @minborg did it here, is that it's fairly easy to prove that the code below is correct -- which makes the initial review easier.
>
> Ahh. Now I see what you mean. This is something we did in a handful of prototypes we explored. While it is true that there will be one indirection less, the complexity of the code is going to grow. Also, if the element is constant folded, it does not matter.

We will explore this option after the first integration of Stable Values.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2026914998


More information about the core-libs-dev mailing list