On Wed, 2 Nov 2022 16:23:34 GMT, Andrew Haley <[email protected]> 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