3 ms·
Is there such a thing as a compacting RC?
by jayd16 4y ago
Is there such a thing as a compacting RC?
- hayley-patton 4y agoBackup compaction can be useful, like backup tracing can be, but you can also use all the initial increments in a coalescing RC collector to determine which pointers need to be fixed up for copying, without tracing. See http://users.cecs.anu.edu.au/~steveb/pubs/papers/rcix-oopsla-2013.pdf http://users.cecs.anu.edu.au/~steveb/pubs/papers/rcix-oopsla... pages 8 and 9 on "Defragmentation with Opportunistic Copying" e.g.
- rtfeldman 4y agoThere was a great talk at Strange Loop about a drop-in malloc replacement which compacts. Apparently it actually led to memory usage improvements in industrial projects like Redis: https://youtu.be/c1UBJbfR-H0 https://youtu.be/c1UBJbfR-H0
- eru 4y agoSee https://github.com/plasma-umass/Mesh https://github.com/plasma-umass/Mesh for the code and a link to the paper.