(no title)
sghemawat | 13 years ago
https://code.google.com/p/gperftools/source/browse/trunk/src...
One caveat: physical memory and swap space is released, but the process's virtual size will not decrease since tcmalloc uses madvise(MNONE) to release memory.
About [2], code using tcmalloc-specific features/symbols is definitely a problem. I would strongly advise against doing that and sticking to the libc interfaces instead for the reason you pointed out.
jeffdavis|13 years ago
Yeah, regarding [2], that was definitely not my idea.
sghemawat|13 years ago
jeffffff|13 years ago