3 ms·
If you care a lot about this stuff use tcmalloc, and its very helpful tc_malloc_stats()
by lokar 7y ago
If you care a lot about this stuff use tcmalloc, and its very helpful tc_malloc_stats()
- rsecora 7y agoI agree, and the arena movement in tcmalloc solves the over assignations in ptmalloc when one thread allocates and other frees. Nevertheless I prefer jemalloc because I find the stats and memory profiling awesome to find leaks or structural over assignation.