Scoped Values (JEP 464)

GPTKB entity

Statements (17)
Predicate Object
gptkbp:instanceOf Python Enhancement Proposal
gptkbp:author gptkb:Mark_Reinhold
gptkbp:featureType gptkb:REST_API
gptkbp:firstAppearance 2023
https://www.w3.org/2000/01/rdf-schema#label Scoped Values (JEP 464)
gptkbp:motive Provide a safer and more efficient alternative to ThreadLocal variables.
gptkbp:officialJEPPage https://openjdk.org/jeps/464
gptkbp:partOf gptkb:Project_Loom
gptkbp:plotSummary Enables sharing of immutable data within and across threads in a safe and efficient manner.
gptkbp:proposedBy gptkb:Java_21
gptkbp:relatedTo gptkb:Virtual_Threads
gptkb:Structured_Concurrency
gptkbp:replacedBy ThreadLocal for many use cases
gptkbp:scope Thread and task-based concurrency
gptkbp:status Proposed to Target
gptkbp:bfsParent gptkb:Java_SE_22_Edition
gptkbp:bfsLayer 7