JEP 426: Scoped Values (Incubator)

GPTKB entity

Statements (40)
Predicate Object
gptkbp:instance_of gptkb:API
gptkbp:bfsLayer 4
gptkbp:bfsParent gptkb:JDK_19
gptkbp:challenges User adoption.
Testing and validation.
Ensuring compatibility with existing AP Is.
Documentation and education.
Performance considerations.
gptkbp:discusses https://openjdk.java.net/jeps/426
gptkbp:first_published 2023-09-12
gptkbp:future_plans Evaluate feedback from the community.
Explore additional use cases.
Monitor performance impacts.
Prepare for finalization.
Refine the API based on usage.
gptkbp:is_described_as Introduce scoped values to provide a way to manage data that is scoped to a specific context.
gptkbp:is_implemented_in Proposed implementation in Open JDK.
gptkbp:is_motivated_by To simplify the management of data in concurrent programming.
gptkbp:key Scoped values are immutable.
Scoped values can be nested.
Scoped values can be used in lambda expressions.
Scoped values can be passed around without concern for thread safety.
Scoped values can be created and accessed in a structured way.
gptkbp:next_edition 1.0
gptkbp:proposed_by gptkb:Brian_Goetz
gptkbp:related_jeps gptkb:JEP_423
gptkb:JEP_424
gptkb:JEP_425
gptkbp:released gptkb:Java_21
gptkbp:status gptkb:organization
gptkbp:target_audience Java developers.
gptkbp:use_case Thread-local data management.
Context propagation.
Data sharing in asynchronous programming.
Managing request-scoped data.
Simplifying state management.
gptkbp:user_reviews gptkb:Gilad_Bracha
gptkb:Venkat_Subramaniam
gptkb:Mark_Reinhold
gptkb:Jesse_Glick