Chromium Code Reviews| Index: third_party/tcmalloc/chromium/src/heap-profiler.cc |
| diff --git a/third_party/tcmalloc/chromium/src/heap-profiler.cc b/third_party/tcmalloc/chromium/src/heap-profiler.cc |
| index 794988d8f34560269d123da7674741203c9466b8..25bed9a4e087cf6814b57dc5b0a1fda071202d23 100644 |
| --- a/third_party/tcmalloc/chromium/src/heap-profiler.cc |
| +++ b/third_party/tcmalloc/chromium/src/heap-profiler.cc |
| @@ -149,7 +149,7 @@ static void ProfilerFree(void* p) { |
| } |
| // We use buffers of this size in DoGetHeapProfile. |
| -static const int kProfileBufferSize = 1 << 20; |
| +static const int kProfileBufferSize = 5 << 20; |
|
Alexander Potapenko
2011/12/20 13:19:38
There should be some comment that describes this c
Dai Mikurube (NOT FULLTIME)
2011/12/21 05:32:45
Done.
|
| // This is a last-ditch buffer we use in DumpProfileLocked in case we |
| // can't allocate more memory from ProfilerMalloc. We expect this |