|
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.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23140
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+11939 lines, -3 lines) |
Patch |
|
A |
third_party/tcmalloc/README
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/allocator_shim.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+256 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/generic_allocators.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/jemalloc/jemalloc.h
|
View
|
|
1 chunk |
+222 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/jemalloc/jemalloc.c
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+7276 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/jemalloc/ql.h
|
View
|
|
1 chunk |
+115 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/jemalloc/qr.h
|
View
|
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/jemalloc/rb.h
|
View
|
|
1 chunk |
+983 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/page_heap.cc
|
View
|
1
2
3
6
7
|
1 chunk |
+495 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/port.cc
|
View
|
1
2
3
6
7
|
1 chunk |
+301 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/system-alloc.h
|
View
|
6
|
1 chunk |
+119 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/system-alloc.cc
|
View
|
6
|
1 chunk |
+505 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/tcmalloc.cc
|
View
|
1
2
3
6
7
|
1 chunk |
+1293 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/tcmalloc/tcmalloc.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+39 lines, -3 lines |
0 comments
|
Download
|
|
A |
third_party/tcmalloc/win_allocator.cc
|
View
|
1
2
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|