tcmalloc编译调试
1. git clone git@github.com:gperftools/gperftools.git
2. git checkout gperftools-2.9
3. cd gperftools-2.9
4. sh autogen.sh
5. cmake .#include "stdio.h"
#include "stdlib.h"
int main()
{
char* p = (char*)malloc(4096);
printf("p %p\n", p);
return 0;
}最后更新于
