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

Issue 10825075: Classify memory usage by allocated type in Deep Memory Profiler. (Closed)

Created:
8 years, 4 months ago by Dai Mikurube (NOT FULLTIME)
Modified:
8 years, 2 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Classify memory usage by allocated type in Deep Memory Profiler. BUG=123758 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158812

Patch Set 1 #

Patch Set 2 : it works #

Patch Set 3 : cleaned up #

Patch Set 4 : added policy.t0.json. #

Patch Set 5 : rebased #

Patch Set 6 : refactored. #

Total comments: 9

Patch Set 7 : reflected the comments. #

Patch Set 8 : fix for cases of non-typeinfo #

Patch Set 9 : renamed some macros and names. #

Patch Set 10 : renamed PROFILING_TYPE to TYPE_PROFILING #

Patch Set 11 : refined a break-down policy file #

Patch Set 12 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -455 lines) Patch
M third_party/tcmalloc/chromium/src/deep-heap-profile.h View 1 2 3 4 5 6 7 8 9 3 chunks +12 lines, -1 line 0 comments Download
M third_party/tcmalloc/chromium/src/deep-heap-profile.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +51 lines, -5 lines 0 comments Download
M tools/deep_memory_profiler/dmprof View 1 2 3 4 5 6 7 8 22 chunks +126 lines, -43 lines 0 comments Download
M tools/deep_memory_profiler/policies.json View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/deep_memory_profiler/policy.l0.json View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M tools/deep_memory_profiler/policy.l1.json View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M tools/deep_memory_profiler/policy.l2.json View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
A + tools/deep_memory_profiler/policy.t0.json View 1 2 3 4 5 6 7 8 9 10 5 chunks +37 lines, -36 lines 0 comments Download
M tools/find_runtime_symbols/find_runtime_symbols.py View 1 2 3 4 5 6 3 chunks +110 lines, -33 lines 0 comments Download
D tools/find_runtime_symbols/parse_proc_maps.py View 1 2 1 chunk +0 lines, -104 lines 0 comments Download
M tools/find_runtime_symbols/prepare_symbol_info.py View 1 2 3 chunks +4 lines, -5 lines 0 comments Download
A + tools/find_runtime_symbols/proc_maps.py View 1 2 2 chunks +40 lines, -43 lines 0 comments Download
M tools/find_runtime_symbols/static_symbols.py View 1 2 3 chunks +230 lines, -166 lines 0 comments Download
M tools/find_runtime_symbols/util.py View 1 2 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Dai Mikurube (NOT FULLTIME)
Hi Marc, Jochen, Could you take a look at it when you have time? (We ...
8 years, 4 months ago (2012-08-14 06:02:19 UTC) #1
jochen (gone - plz use gerrit)
I'm not a good person to review this, I don't really understand what's going on ...
8 years, 4 months ago (2012-08-14 11:17:53 UTC) #2
M-A Ruel
http://codereview.chromium.org/10825075/diff/10006/third_party/tcmalloc/chromium/src/deep-heap-profile.cc File third_party/tcmalloc/chromium/src/deep-heap-profile.cc (right): http://codereview.chromium.org/10825075/diff/10006/third_party/tcmalloc/chromium/src/deep-heap-profile.cc#newcode452 third_party/tcmalloc/chromium/src/deep-heap-profile.cc:452: if (type == NULL) Mixing #if and conditions without ...
8 years, 4 months ago (2012-08-19 02:40:00 UTC) #3
Dai Mikurube (NOT FULLTIME)
Thanks for your comments, Marc. Updated the patch set. http://codereview.chromium.org/10825075/diff/10006/third_party/tcmalloc/chromium/src/deep-heap-profile.cc File third_party/tcmalloc/chromium/src/deep-heap-profile.cc (right): http://codereview.chromium.org/10825075/diff/10006/third_party/tcmalloc/chromium/src/deep-heap-profile.cc#newcode452 third_party/tcmalloc/chromium/src/deep-heap-profile.cc:452: ...
8 years, 4 months ago (2012-08-20 10:35:27 UTC) #4
M-A Ruel
lgtm http://codereview.chromium.org/10825075/diff/10006/tools/deep_memory_profiler/dmprof File tools/deep_memory_profiler/dmprof (right): http://codereview.chromium.org/10825075/diff/10006/tools/deep_memory_profiler/dmprof#newcode940 tools/deep_memory_profiler/dmprof:940: if buckets[bucket].typeinfo != None: On 2012/08/20 10:35:27, Dai ...
8 years, 4 months ago (2012-08-20 18:12:13 UTC) #5
Dai Mikurube (NOT FULLTIME)
On 2012/08/20 18:12:13, Marc-Antoine Ruel wrote: > lgtm > > http://codereview.chromium.org/10825075/diff/10006/tools/deep_memory_profiler/dmprof > File tools/deep_memory_profiler/dmprof (right): ...
8 years, 4 months ago (2012-08-21 03:28:58 UTC) #6
Dai Mikurube (NOT FULLTIME)
Hi Marc, Sorry, I additionally fixed "dmprof" for cases that no typeinfo are given in ...
8 years, 4 months ago (2012-08-22 02:42:41 UTC) #7
Dai Mikurube (NOT FULLTIME)
Is the change in the Patch Set #8 still ok? If so, I'll commit it ...
8 years, 4 months ago (2012-08-23 10:32:57 UTC) #8
M-A Ruel
Index: tools/find_runtime_symbols/proc_maps.py diff --git a/tools/find_runtime_symbols/parse_proc_maps.py b/tools/find_runtime_symbols/proc_maps.py old mode 100755 new mode 100644 FYI, note that ...
8 years, 4 months ago (2012-08-23 19:16:54 UTC) #9
Dai Mikurube (NOT FULLTIME)
On 2012/08/23 19:16:54, Marc-Antoine Ruel wrote: > Index: tools/find_runtime_symbols/proc_maps.py > diff --git a/tools/find_runtime_symbols/parse_proc_maps.py > b/tools/find_runtime_symbols/proc_maps.py ...
8 years, 4 months ago (2012-08-24 02:48:53 UTC) #10
Dai Mikurube (NOT FULLTIME)
Just renamed some names and macros due to changes in http://codereview.chromium.org/10411047/. If no objections, I'll ...
8 years, 3 months ago (2012-08-29 04:42:41 UTC) #11
Dai Mikurube (NOT FULLTIME)
Hi Marc, Sorry for requesting review for this change again. I just changed a JSON ...
8 years, 3 months ago (2012-09-13 08:26:58 UTC) #12
Dai Mikurube (NOT FULLTIME)
Correction: I won't commit it until the base patch is landed.
8 years, 3 months ago (2012-09-13 10:49:46 UTC) #13
M-A Ruel
On 2012/09/13 08:26:58, Dai Mikurube wrote: > Hi Marc, > > Sorry for requesting review ...
8 years, 3 months ago (2012-09-17 17:42:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/10825075/47001
8 years, 2 months ago (2012-09-26 05:21:12 UTC) #15
Dai Mikurube (NOT FULLTIME)
Thanks, Marc. It'll be committed soon.
8 years, 2 months ago (2012-09-26 05:28:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/10825075/47001
8 years, 2 months ago (2012-09-26 13:30:18 UTC) #17
commit-bot: I haz the power
8 years, 2 months ago (2012-09-26 16:37:25 UTC) #18
Change committed as 158812

Powered by Google App Engine
This is Rietveld 408576698