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

Precise garbage collection #36

Open
ollef opened this issue Oct 19, 2017 · 0 comments
Open

Precise garbage collection #36

ollef opened this issue Oct 19, 2017 · 0 comments

Comments

@ollef
Copy link
Owner

ollef commented Oct 19, 2017

See if we can get the LLVM gcroots stuff to work. Something that looks like a potential problem is that there's currently no support for marking non-pointer (e.g. structy) data as possibly containing pointers, so we may have to resort to conservative stack scanning or something and look into mostly copying GC.

With a GC that scans for pointers we might decide to use pointer tagging to decide whether something is a pointer or not (and reserve a bit in ints as well). If that's the case we'll need a new type for pointers to byte arrays so that their data is not scanned for pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant