diff options
author | csilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50> | 2010-06-21 15:59:56 +0000 |
---|---|---|
committer | csilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50> | 2010-06-21 15:59:56 +0000 |
commit | cb7393cbe2d737009001fd9d30dad568bac7a3d8 (patch) | |
tree | 239f4ca1c465d8389bf1c767189f2bb4e7b0c609 /src/google | |
parent | d8c02761689ba909f474b85618f99ac6dfc9a168 (diff) | |
download | gperftools-cb7393cbe2d737009001fd9d30dad568bac7a3d8.tar.gz |
* Default to not sampling in tcmalloc (csilvers)
* Add -DTCMALLOC_LARGE_PAGES: better perf for some workloads (rus)
* Extend pprof --tools to allow per-tool configs (csilvers)
* Have STL_Allocator pass on # bytes to free (richardfang)
* Add a header guard to config.h (csilvers)
* DOC: Clean up documentation around tcmalloc.slack_bytes (fikes)
* DOC: Document ProfilerFlush, ProfilerStartWithOptions (csilvers)
* PORTING: Work around a gcc 4.5.0 optimization bug (csilvers)
* PORTING: Use -fno-builtin-malloc and friends when compiling tcmalloc
* PORTING: Define _WIN32_WINNT high enough for mingw (csilvers)
* PORTING: Work around libtool bug getting deps wrong in some cases
* Update README.windows to emphasize $IncludeDir more (csilvers)
* Rename README.windows to README_windows.txt (csilvers)
git-svn-id: http://gperftools.googlecode.com/svn/trunk@95 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/malloc_extension.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/google/malloc_extension.h b/src/google/malloc_extension.h index fc272c9..9c05897 100644 --- a/src/google/malloc_extension.h +++ b/src/google/malloc_extension.h @@ -145,21 +145,22 @@ class PERFTOOLS_DLL_DECL MallocExtension { // Number of bytes used across all thread caches. // This property is not writable. // - // "tcmalloc.slack_bytes" - // Number of bytes allocated from system, but not currently in - // use by malloced objects. I.e., bytes available for - // allocation without needing more bytes from system. It is - // the sum of pageheap_free_bytes and pageheap_unmapped_bytes. - // This property is not writable. - // // "tcmalloc.pageheap_free_bytes" - // Number of bytes in free, mapped pages in pageheap - // This property is not writable. + // Number of bytes in free, mapped pages in page heap. These + // bytes can be used to fulfill allocation requests. They + // always count towards virtual memory usage, and unless the + // underlying memory is swapped out by the OS, they also count + // towards physical memory usage. This property is not writable. // // "tcmalloc.pageheap_unmapped_bytes" - // Number of bytes in free, unmapped pages in pageheap - // This property is not writable. - // + // Number of bytes in free, unmapped pages in page heap. + // These are bytes that have been released back to the OS, + // possibly by one of the MallocExtension "Release" calls. + // They can be used to fulfill allocation requests, but + // typically incur a page fault. They always count towards + // virtual memory usage, and depending on the OS, typically + // do not count towards physical memory usage. This property + // is not writable. // ------------------------------------------------------------------- // Get the named "property"'s value. Returns true if the property |