Skip to content

implement "trial deletion" GC to collect cycles#407

Draft
davidhewitt wants to merge 1 commit intomainfrom
dh/trial-deletion
Draft

implement "trial deletion" GC to collect cycles#407
davidhewitt wants to merge 1 commit intomainfrom
dh/trial-deletion

Conversation

@davidhewitt
Copy link
Copy Markdown
Collaborator

This moves monty from a tracing GC to a "refcounting with trial deletion" GC described in https://web.eecs.umich.edu/~weimerw/2008-415/reading/bacon-garbage.pdf

This seems to be a standard way to detect cycles without needing to actually keep a set of GC roots.

For now the implementation is vibe-coded by Claude with no review on my part. Pushing to park here for the week, will clean up & continue next week.

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

Successfully merging this pull request may close these issues.

1 participant