| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Walks the size classes in TCMalloc's central freelist, exposing interesting
statistics via a callback.
serverStatus() now includes this information in lieu of the TCMalloc dump stats
text block.
(cherry picked from commit a1d9d2251734bc4077255ae33e17f5a210697839)
|
|
|
|
| |
(cherry picked from commit df981d0766beb3e1c423f72eba1831ec510bd457)
|
|
|
|
| |
a thread goes idle
|
|
|
|
|
|
|
|
| |
Main changes here are:
1. Free the contents of the cache but don't tear down control structures
2. Use dynamic sizing for when a thread frees memory, not magic constants
3. Remove the global lock
4. Try to make the tcmalloc change acceptable for upstream
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
issue-626: Fix SetupAggressiveDecommit initialization
This patch fixes the SetupAggressiveDecommit initialization to run after
pageheap_ creation. Current code it not enforcing it, since
InitStaticVars is being called outside the static_vars module.
Issue details:
https://code.google.com/p/gperftools/issues/detail?id=626
Revision details:
https://code.google.com/p/gperftools/source/detail?r=81d99f21ede78ab8d5fec15d0055416ac1b581f3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cpu-profiler build tweaks.
config-10gen_macos.h:
- generated by: ./configure
- disabled HAVE_LIBUNWIND_H
config-10gen_linux.h:
- generated by: ./configure --enable-minimal
- applied config-10gen_linux.h changes made in src/gperftools-2.0/src/config-10gen_linux.h in commit eee3fe4ce66c7bbda9329a3c8bd8e3549b07437c:
SERVER-4683 Support the imported tcmalloc, ystem tcmalloc or the default system allocator library.
Pass --allocator=tcmalloc (default on Linux) or --allocator=system (default elsewhere)
to control which allocator is used, and --use-system-tcmalloc to use the system-
installed tcmalloc instead of the one in the mongo source tree if you use --allocator=tcmalloc.
- applied config-10gen_linux.h changes made in src/gperftools-2.0/src/config-10gen_linux.h in commit 498d9102e00e61ca2d41b7db1448969728884b50:
SERVER-6758 - use third_party profiler when using --use-cpu-profiler
does require libunwind installed on system
SCons --use-cpu-profiler changes:
- enabled HAVE_UNWIND_H for use-cpu-profile
- excluded cpu profile commands from mongos
|
|
Website: https://code.google.com/p/gperftools/
Download: https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/gperftools-2.2.tar.gz
|