-
Notifications
You must be signed in to change notification settings - Fork 10
Support a "spegetti stack" #455
Copy link
Copy link
Open
Labels
component: runtimeConcerning the runtime systemConcerning the runtime systemmeta: triagedHas the issue been triaged yet?Has the issue been triaged yet?skill: C++status: acceptedA bug we intend to fix it.A bug we intend to fix it.type: enhancement
Milestone
Metadata
Metadata
Assignees
Labels
component: runtimeConcerning the runtime systemConcerning the runtime systemmeta: triagedHas the issue been triaged yet?Has the issue been triaged yet?skill: C++status: acceptedA bug we intend to fix it.A bug we intend to fix it.type: enhancement
Add a stack structure that can allow us to re-use stack frames. There's lots of different stratergies but I'm partial to a spagetti stack that makes use of the GC to clean up frames. Something like.
If stack frames are not captured, it means that this part of the program isn't making use of continuations or similar features, or only captures them but never replays them. Then the Plasma abstract machine modle should work as near as possible to native execution, especially with regard to something like the x86 shadow stack.