diff options
author | bxx@chromium.org <bxx@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-03 02:30:53 +0000 |
---|---|---|
committer | bxx@chromium.org <bxx@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-03 02:30:53 +0000 |
commit | dd23fceb3c4304bd71ba65b63a52ef14252a93ac (patch) | |
tree | 3f8546380e04291c5ff1df7cb07560e47af6641b /base | |
parent | 954dd6134a976be00ea5ff352304fcabfa96cfe6 (diff) | |
download | chromium_src-dd23fceb3c4304bd71ba65b63a52ef14252a93ac.zip chromium_src-dd23fceb3c4304bd71ba65b63a52ef14252a93ac.tar.gz chromium_src-dd23fceb3c4304bd71ba65b63a52ef14252a93ac.tar.bz2 |
tcmalloc doubly-linked free-lists for thread caches
Added the ability for free lists to be built out of doubly-linked lists in tcalloc. TCMALLOC_USE_DOUBLYLINKED_FREELIST flag must be set in order for doubly-linked lists to be used.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7671034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/allocator/allocator.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp index 97490ea..1428113 100644 --- a/base/allocator/allocator.gyp +++ b/base/allocator/allocator.gyp @@ -17,6 +17,7 @@ '<(tcmalloc_dir)/src', '../..', ], + 'defines': ['TCMALLOC_USE_DOUBLYLINKED_FREELIST',], 'direct_dependent_settings': { 'configurations': { 'Common_Base': { @@ -94,6 +95,8 @@ '<(tcmalloc_dir)/src/common.cc', '<(tcmalloc_dir)/src/common.h', '<(tcmalloc_dir)/src/debugallocation.cc', + '<(tcmalloc_dir)/src/free_list.cc', + '<(tcmalloc_dir)/src/free_list.h', '<(tcmalloc_dir)/src/getpc.h', '<(tcmalloc_dir)/src/google/heap-checker.h', '<(tcmalloc_dir)/src/google/heap-profiler.h', |