RFR: 8351565: Implement JEP 502: Stable Values (Preview) [v8]
    Paul Sandoz 
    psandoz at openjdk.org
       
    Tue Mar 25 20:04:22 UTC 2025
    
    
  
On Tue, 25 Mar 2025 15:52:07 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> Implement JEP 502.
>> 
>> The PR passes tier1-tier3 tests.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Revamp toString() methods
src/java.base/share/classes/java/lang/StableValue.java line 426:
> 424:      * regardless if invoked by several threads. Also, the provided {@code supplier}
> 425:      * will only be invoked once even if invoked from several threads unless the
> 426:      * {@code supplier} throws an exception.
This seems like unnecessary detail. I would just drop it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23972#discussion_r2012850937
    
    
More information about the hotspot-dev
mailing list