News and views from members of the Java team at Oracle
Scoped values enable a method to share immutable data both with its callees within a thread and with child threads in a convenient, safe, scalable way, particular in comparison to thread-local variables. They are a preview feature in Java 24.
Make sure to check the show-notes.