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

Issue 2899683002: Reenable Purge+Suspend Memory Growth metrics. (Closed)

Created:
3 years, 7 months ago by tasak
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reenable Purge+Suspend Memory Growth metrics. Fix DCHECK failure in base::HistogramBase::CheckName(). We need to use different scope for each histogram name, because UMA_HISTOGRAM macro defines a static variable and checks whether the histogram name stored in the variable is the same as newly given histogram names or not. BUG=722792, 670539, 635419 Review-Url: https://codereview.chromium.org/2899683002 Cr-Commit-Position: refs/heads/master@{#474197} Committed: https://chromium.googlesource.com/chromium/src/+/a27961af152737aeb934c77180b9667e51bbee06

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed. #

Total comments: 4

Patch Set 3 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -12 lines) Patch
M content/renderer/render_thread_impl.cc View 1 2 4 chunks +28 lines, -12 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
tasak
Would you review this CL? This patch is for fixing the following DCHECK failure: [FATAL:histogram_base.cc(73)] ...
3 years, 7 months ago (2017-05-22 09:19:09 UTC) #7
Avi (use Gerrit)
lgtm stamp
3 years, 7 months ago (2017-05-22 19:56:34 UTC) #9
Ilya Sherman
Sorry for not catching the misuse of the histogram macros during my previous code review ...
3 years, 7 months ago (2017-05-22 20:28:01 UTC) #10
tasak
Thank you for review. https://codereview.chromium.org/2899683002/diff/1/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2899683002/diff/1/content/renderer/render_thread_impl.cc#newcode1841 content/renderer/render_thread_impl.cc:1841: UMA_HISTOGRAM_MEMORY_KB( \ On 2017/05/22 20:28:01, ...
3 years, 7 months ago (2017-05-23 05:15:17 UTC) #13
Ilya Sherman
https://codereview.chromium.org/2899683002/diff/20001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2899683002/diff/20001/content/renderer/render_thread_impl.cc#newcode1818 content/renderer/render_thread_impl.cc:1818: #define UMA_PURGE_AND_SUSPEND_MEMORY_GROWTH(suffix, memory_metrics) \ Rather than using a macro ...
3 years, 7 months ago (2017-05-23 15:21:58 UTC) #16
tasak
https://codereview.chromium.org/2899683002/diff/20001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2899683002/diff/20001/content/renderer/render_thread_impl.cc#newcode1818 content/renderer/render_thread_impl.cc:1818: #define UMA_PURGE_AND_SUSPEND_MEMORY_GROWTH(suffix, memory_metrics) \ On 2017/05/23 15:21:58, Ilya Sherman ...
3 years, 7 months ago (2017-05-24 05:08:19 UTC) #19
Ilya Sherman
LGTM, thanks.
3 years, 7 months ago (2017-05-24 05:44:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2899683002/60001
3 years, 7 months ago (2017-05-24 07:29:15 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 07:33:43 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a27961af152737aeb934c77180b9...

Powered by Google App Engine
This is Rietveld 408576698