diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 02:17:14 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 02:17:14 +0000 |
commit | 14239acc00731e94736ac62e80fc6b17c31ea131 (patch) | |
tree | 4638c1895f339b829145df4292d5c62ce8c155a4 /chrome/browser/gtk | |
parent | d734f220da466c52f94423acc91bb347ef8811dd (diff) | |
download | chromium_src-14239acc00731e94736ac62e80fc6b17c31ea131.zip chromium_src-14239acc00731e94736ac62e80fc6b17c31ea131.tar.gz chromium_src-14239acc00731e94736ac62e80fc6b17c31ea131.tar.bz2 |
Major changes to the Chrome allocator.
Changes include:
* Fix tcmalloc to release memory. Implements the TCMalloc_SystemCommit()
mechanism so that tcmalloc can implement SystemRelease() and later
reuse that memory.
* Enable dynamic switching of allocators based on an environment variable.
Users can now switch between tcmalloc, jemalloc, the default windows
heap, and the windows low-fragmentation heap.
* Implements set_new_mode() across all allocators so that we can be sure
that out-of-memory conditions are handled safely.
BUG=18345
TEST=none; plan to get all unit tests running through these allocators.
Review URL: http://codereview.chromium.org/165275
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23140 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
0 files changed, 0 insertions, 0 deletions