jemalloc (Jason Evans, originally for FreeBSD) is what Firefox and Redis link against specifically to eliminate glibc ptmalloc's single global lock under multithreaded load, and tcmalloc is the allocator Google ships inside Chrome and much of its internal infrastructure for the same reason. Swapping allocators via LD_PRELOAD without touching a line of application code, and measuring the before/after, is a real technique performance engineers use as a first, cheap lever before attempting any code-level optimization.