support tcmalloc and jemalloc