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

New GC for C host #71

Merged
merged 8 commits into from
Jan 9, 2025
Merged

New GC for C host #71

merged 8 commits into from
Jan 9, 2025

Conversation

l4haie
Copy link
Collaborator

@l4haie l4haie commented Sep 17, 2024

Implementation of a few garbage collection algorithms to be used as a benchmark for the new GC.

Copy link
Collaborator

@leo-ard leo-ard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really good ! I did put some comments, but it's mostly nit picking and renaming.

The only things missing is tests ! Once you change the names for the features, you can add it to the features list (TEST_FEATURE) of the C host. Read here how to do that : https://github.com/udem-dlteam/ribbit/tree/main/src/tests#makefile-example. I would add both the mark-and-sweep algorithm with and without the DSW optimization. If the CI is too long, we can remove the mark-and-sweep algorithm without DSW.

src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/rvm.c Outdated Show resolved Hide resolved
src/host/c/makefile Outdated Show resolved Hide resolved
@leo-ard
Copy link
Collaborator

leo-ard commented Oct 10, 2024

@l4haie The rest looks good ! If you fix the warning of the RVM in the CI and the time it takes (see comment above) it should be ready to be merged !

@leo-ard leo-ard merged commit fe53b3a into main Jan 9, 2025
18 checks passed
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.

2 participants