4 ms·
If you are interested in optimizing generational GC with operating system facilities: https://medium.com/@MartinCracauer/generational-garbage-collection-write-
by cracauer 7y ago
If you are interested in optimizing generational GC with operating system facilities:
https://medium.com/@MartinCracauer/generational-garbage-collection-write-barriers-write-protection-and-userfaultfd-2-8b0e796b8f7f https://medium.com/@MartinCracauer/generational-garbage-coll...
And a review of LLVM's GC facilities:
https://medium.com/@MartinCracauer/llvms-garbage-collection-facilities-and-sbcl-s-generational-gc-a13eedfb1b31 https://medium.com/@MartinCracauer/llvms-garbage-collection-...
Overall message is that there are many different ways to get to the destination, and creative solutions are mixed in.
- dan-robertson 7y agoDo you know if llvm got good at garbage collection support recently? My understanding was always that their optimisations would mangle your stack/registers so much that a decent incremental exact GC becomes super hard. And that something like keeping one/two pointers to the tip of the heap in dedicated registers is super hard/annoying too.
- cracauer 7y agoI don't have anything new. I might have to re-write a GC for Clasp. Then I know :) A better questions would be whether anybody has a moving, precise GC running on LLVM. Clasp with MPS runs, but that might be coincidence/luck.