Please find source of the test program to verify this bug at

http://pastebin.com/KAxQZARm

compile it with  -ltcmalloc 
To test:
Export a non-default value of the cache size, for eg # export 
TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES=67108864
Run the test prog, For the buggy version you will see

Tcmalloc BUG! TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES: 67108864 Internal
Size: 33554432 different

With the bug fixed, you should see

"Tcmalloc Internal and Env cache size are same:67108864"

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to google-perftools in Ubuntu.
https://bugs.launchpad.net/bugs/1439277

Title:
  tcmalloc performance degredation over time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-perftools/+bug/1439277/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to