Comment #3 on issue 18345 by [email protected]: Add a runtime flag to  
enable/disable tcmalloc
http://code.google.com/p/chromium/issues/detail?id=18345

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=23140

------------------------------------------------------------------------
r23140 | [email protected] | 2009-08-11 19:17:14 -0700 (Tue, 11 Aug 2009)  
| 17 lines
Changed paths:
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/README
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/allocator_shim.cc
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/generic_allocators.cc
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/jemalloc
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/jemalloc/jemalloc.c
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/jemalloc/jemalloc.h
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/jemalloc/ql.h
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/jemalloc/qr.h
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/jemalloc/rb.h
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/page_heap.cc
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/port.cc
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/system-alloc.cc
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/system-alloc.h
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/tcmalloc.cc
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/tcmalloc.gyp?r1=23140&r2=23139
    A  
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/tcmalloc/win_allocator.cc

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
------------------------------------------------------------------------


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to