Hello Peter, Thanks so much for the feedback. AFAIK, that work is delivered by the Loom crew and they use the `loom-dev` mailing list <https://mail.openjdk.org/mailman/listinfo/loom-dev> for discussions. I think they would really appreciate hearing your feedback: What is the real-world use case you used SVs for? How was that particular logic implemented before? What are the performance/code/semantic changes you observed during migration? Did you encounter any problems? Did you find the API intuitive? etc.
Kind regards. On Wed, Jan 22, 2025 at 4:11 AM Peter Firmstone <peter.firmst...@zeus.net.au> wrote: > Just wanted to say, I've been experimenting with replacing ThreadLocal > with ScopedValue, this is a great new API, I love the way ScopedValue > uses recursion, we can have multiple immutable instances representing a > scoped value for a short period and we're not worried about managing > state as it goes out of scope as soon as it's no longer in use. > > Cheers, > > Peter. > >