On Fri, 2 May 2025 12:13:39 GMT, Per Minborg <pminb...@openjdk.org> wrote:

> This PR proposes to address comments in the initial PR for Stable Values, 
> which were deferred until after integration.
> 
> Unfortunately, this PR shows the total commit history for stable values.

src/java.base/share/classes/java/lang/StableValue.java line 387:

> 385:  * The method {@link #orElseSet(Supplier)} guarantees that the provided
> 386:  * {@linkplain Supplier} is invoked successfully at most once, even 
> under race.
> 387:  * Invocations of {@link #orElseSet(Supplier)} (Object)} form a total 
> order of zero or

Suggestion:

 * Invocations of {@link #orElseSet(Supplier)} form a total order of zero or

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25004#discussion_r2072270481

Reply via email to