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

Per Minborg pminborg at openjdk.org
Wed Apr 2 11:57:09 UTC 2025


On Wed, 2 Apr 2025 09:00:38 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Per Minborg has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Add lazy toSting for StableMap::values
>>  - Make toString for reversed and sublist lazy
>
> src/java.base/share/classes/java/lang/StableValue.java line 257:
> 
>> 255:  * which are held by stable values:
>> 256:  * {@snippet lang = java:
>> 257:  * public final class DependencyUtil {
> 
> I think the fibonacci example is great -- and is probably enough for this section. We also had, at some point, a nice ASCII art of the computations involved in the fibonacci, which might be useful to illustrate your claim re. "dependency graph". Do you think you can recover that ?

I found it! Soon to be added!

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

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


More information about the core-libs-dev mailing list