What are the differences between tcmalloc / jemalloc and a memory pool

tcmalloc / jemalloc - improved memory allocators, and also added a memory pool for better memory allocation. So what are the differences between them and how to choose them in my application?

+42
c linux malloc memory tcmalloc
Mar 26 2018-12-12T00:
source share
1 answer

This blog has links to a detailed description of all the popular mallocs.

And this article leads to one critical difference between tcmalloc and jemalloc and advises choosing one of them.

And this article fully describes the jemalloc algorithm

+61
Mar 26 '12 at 7:37
source share



All Articles