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

gc_alloc_var optimization #8

Closed
ncannasse opened this issue Oct 1, 2016 · 1 comment
Closed

gc_alloc_var optimization #8

ncannasse opened this issue Oct 1, 2016 · 1 comment

Comments

@ncannasse
Copy link
Member

ATM gc_alloc_var takes too much time after a mark to allocate on already filled pages, because it will not blacklist full pages and will keep iterating over them. Using gc_free_pages as we do for gc_alloc_fixed would help.

This can be reproduced by disable interface memoization and running Northgard main loop.

@ncannasse
Copy link
Member Author

I did some fixes today, allocation is still a bit expensive compared to some other GC techniques, I'll have to review the GC design later.

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