On Wed, 2 Apr 2025 14:24:20 GMT, Viktor Klang <vkl...@openjdk.org> wrote:

>> Per Minborg has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Add info that Map#values and Map#entrySet are stable
>
> src/java.base/share/classes/java/lang/StableValue.java line 377:
> 
>> 375:  *
>> 376:  * <h2 id="thread-safety">Thread Safety</h2>
>> 377:  * The content of a stable value is guaranteed to be set at most once. 
>> If competing
> 
> Suggestion:
> 
>  * The contents of a stable value is guaranteed to be set at most once. If 
> competing

I think it should be "content" as only one element can be set?

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

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

Reply via email to