Package: gcc
Version : gcc (Debian 4.9.2-10) 4.9.2 or gcc (Debian 4.7.4-3) 4.7.4
when we use tcmalloc lib to malloc memory, we use gcc (Debian 4.7.4-3) 4.7.4 compiling the gperftools (version 2.1) and use gcc (Debian 4.9.2-10) 4.9.2 compiling the same version gperftools,
running on jessie (version 8.2) .
we can see the tcmalloc used gcc 4.9.2 get a very higher latency(more than 10 times) than tcmalloc with gcc 4.7.4-3.
we use tcmalloc lib with gcc 4.7.4-3 instead of tcmalloc lib with gcc 4.9.2 , the problem is solved.
The code is the same, why gcc 4.9.2-10 version is higher than gcc 4.7.4-3 ,but get the more latency ?
if u need any more infor pls tell me .
BRs
Yongsu