RFR: JDK-8286666: JEP 429: Implementation of Scoped Values (Incubator)
    Andrew Haley 
    aph at openjdk.org
       
    Tue Nov 15 14:20:56 UTC 2022
    
    
  
On Wed, 2 Nov 2022 16:23:34 GMT, Andrew Haley <aph at openjdk.org> wrote:
> JEP 429 implementation.
src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/ScopedValue.java line 475:
> 473:         // ??? Do we want to search cache for this? In most cases we don't expect
> 474:         // this {@link ScopedValue} to be bound, so it's not worth it. But I may
> 475:         // be wrong about that.
We should make it switchable by a runtime parameter. We should optionally cache failures.
Add a microbenchmark for that.
-------------
PR: https://git.openjdk.org/jdk/pull/10952
    
    
More information about the security-dev
mailing list