jemalloc and STL

Aaron Evers eversa at gmail.com
Wed Sep 26 08:13:51 PDT 2012


Is it sufficient to link in jemalloc at compile time (i.e. -ljemalloc)
if I want it to be used by STL containers?  Or do I need to specify
the allocator, as in:
typedef std::list<int, malloc_alloc> mylist;

Forgive me if this was already answered in the documentation.  I could
not find it.



More information about the jemalloc-discuss mailing list