-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Support flat closure contexts in the vm-service protocol #63332
Copy link
Copy link
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub teamIssue has been triaged by sub teamvm-serviceThe VM Service Protocol, both the specification and its implementationThe VM Service Protocol, both the specification and its implementation
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub teamIssue has been triaged by sub teamvm-serviceThe VM Service Protocol, both the specification and its implementationThe VM Service Protocol, both the specification and its implementation
While moving computation of closure contexts into the front-end (#61572), we're making closure contexts more flexible. In future, this would allow us to use different strategies for computation of contexts, such as safe-for-space contexts.
This affects runtime representation of closures in the VM. In particular, the following is changing:
parentpointer.This change should be reflected in the vm-service protocol and its users (DevTools, IDEs etc) should be updated accordingly.
Affected API:
Context.parentis already optional in the vm-service protocol, so it would be non-breaking to eventually omit it.