Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMA garbage collection #36

Closed
eamsden opened this issue Feb 28, 2023 · 0 comments
Closed

PMA garbage collection #36

eamsden opened this issue Feb 28, 2023 · 0 comments

Comments

@eamsden
Copy link
Collaborator

eamsden commented Feb 28, 2023

One open question is the best GC / lifecycle management strategy for the PMA. This breaks down into a couple of sub-questions:

  • What are the roots we want to trace for the PMA and where do they live?
    • (my preferred answer: they are the bytecode cache and Arvo-as-a-noun and they live in slots in the top stack frame of the NockStack in the PMA)
  • What GC strategy are we using for the PMA?
    • (my preferred answer: mark-and-sweep. We are assuming that most objects here are long-lived and so mark-and-sweep with a free-list allocator is by far the most proven solution)
@eamsden eamsden mentioned this issue Feb 28, 2023
3 tasks
@eamsden eamsden closed this as completed Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant