Marek Olšák is looking at using the jemalloc memory allocator for faster GLSL compilation and ultimately could redirect all malloc/calloc/realloc/free calls in Mesa to using jemalloc…
Source: Phoronix – Mesa Looks At Switching To Jemalloc For Faster Performance