Memory Allocation: Difference between revisions

m
Added link to another malloc replacement
[unchecked revision][unchecked revision]
m (Added big picture overview)
m (Added link to another malloc replacement)
 
(One intermediate revision by the same user not shown)
Line 114:
There are a lot of allocators to choose from, so this is far from being a comprehensive list;
*[https://github.com/blanham/liballoc/ liballoc] - Excellent allocator that was originally a part of the Spoon Operating System and designed to be plugged into hobby OS's.
*[http://ggee.cs.oswego.edu/dl/html/malloc.html dlmalloc] - Doug Lea's Memory Allocator. A good all purpose memory allocator that is widely used and ported.
*[http://goog-perftools.sourceforge.net/doc/tcmalloc.html TCMalloc] Thread-Caching Malloc. An experimental scalable allocator.
*[http://www.nedprod.com/programs/portable/nedmalloc/ nedmalloc] A very fast and very scalable allocator. These two properties have made it somewhat popular in multi-threaded video games as an alternative to the default provided allocator.
Line 120:
*[https://github.com/jemalloc/jemalloc jemalloc] A general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support, first used in FreeBSD
*[https://github.com/emeryberger/Hoard Hoard] is a drop-in replacement for malloc that can dramatically improve application performance, especially for multithreaded programs running on multiprocessors and multicore CPUs.
*[https://github.com/fysnet/FYSOS/tree/master/bucket Bucket] is a simple drop-in replacement for malloc for beginners. Most importantly, it has detailed documentation of what happens under the hood. Not just source code comments.
 
==See Also==
Anonymous user