Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 7865021: Deep-Memory-Profiler (DMP) implementation (Closed)

Created:
9 years, 3 months ago by sainaa
Modified:
8 years, 8 months ago
Visibility:
Public.

Description

DMP is a extension of the heap-profiler of tcmalloc. It records resident memory sizes of each allocations using /proc/self/pagemap and dumps logs at constant interval. Dumped logs can be processed by dmprof to classify each allocation to one of the components defined in a policy file. File discriptions: dmprof: a python script for analyzing logs policy: a setting file used by dmprof gmail-send-self-test: a shell script for running a gmail test BUG= TEST=

Patch Set 1 #

Patch Set 2 : put buckets and maps in seperate files #

Patch Set 3 : included files for log analyzing #

Patch Set 4 : Fixed bugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1877 lines, -65 lines) Patch
M base/allocator/allocator.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/tcmalloc/chromium/src/deep-memory-profiler.h View 1 2 3 1 chunk +118 lines, -0 lines 0 comments Download
A third_party/tcmalloc/chromium/src/deep-memory-profiler.cc View 1 2 3 1 chunk +552 lines, -0 lines 0 comments Download
A third_party/tcmalloc/chromium/src/dmprof View 1 2 3 1 chunk +492 lines, -0 lines 0 comments Download
A third_party/tcmalloc/chromium/src/gmail-send-self-test View 1 2 3 1 chunk +162 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profile-table.h View 1 2 3 6 chunks +27 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profile-table.cc View 1 2 3 9 chunks +49 lines, -5 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profiler.cc View 1 2 3 10 chunks +40 lines, -4 lines 0 comments Download
M third_party/tcmalloc/chromium/src/malloc_hook.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
A third_party/tcmalloc/chromium/src/policy View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/pprof View 1 2 28 chunks +355 lines, -55 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sainaa
9 years, 2 months ago (2011-09-27 04:42:15 UTC) #1
Dai Mikurube (NOT FULLTIME)
Separated this patch into : http://codereview.chromium.org/8634005/ http://codereview.chromium.org/8631007/ http://codereview.chromium.org/8633006/ http://codereview.chromium.org/8635003/ http://codereview.chromium.org/8632007/ (Scripts are not included in ...
9 years ago (2011-12-01 08:39:18 UTC) #2
Dai Mikurube (NOT FULLTIME)
Now, this change is separated into the following 4 patches to be applied in this ...
9 years ago (2011-12-13 05:11:07 UTC) #3
Dai Mikurube (NOT FULLTIME)
9 years ago (2011-12-15 13:31:05 UTC) #4
Now, separated into 5 patches :

0. Change the heap file names to be Cleanup'ed in third_party/tcmalloc/chromium.
http://codereview.chromium.org/8957007/
1. Fix HEAP_PROFILE_MMAP in google-perftools.
http://codereview.chromium.org/8635003/
2. Add HEAP_PROFILE_TIME_INTERVAL to dump heap profiles periodically.
http://codereview.chromium.org/8633006/
3. The DMP dumper. http://codereview.chromium.org/8632007/
4. Make the profile buffer larger. http://codereview.chromium.org/8634005/

Powered by Google App Engine
This is Rietveld 408576698