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

Issue 1892283004: Add cooldown to LeakDetectorImpl leak report generation (Closed)

Created:
4 years, 8 months ago by Simon Que
Modified:
4 years, 8 months ago
Reviewers:
Will Harris
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add cooldown to LeakDetectorImpl leak report generation After a report is generated for a particular allocation size and call site, there is a cooldown period before another report can be generated for the same size and call site. This prevents LeakDetectorImpl from generating too reports with redundant data. BUG=chromium:605314 TEST=unit tests pass Committed: https://crrev.com/7a9e129ec81d69c64a23d1bf7ab83e3f5ae3b3d4 Cr-Commit-Position: refs/heads/master@{#388707}

Patch Set 1 #

Patch Set 2 : Add comments to new fields/functions; restore check at end of JuliaSet unit test #

Patch Set 3 : git cl format #

Patch Set 4 : Update comments in unit test #

Patch Set 5 : Rebased; remove JuliaSet history comparison #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -27 lines) Patch
M components/metrics/leak_detector/leak_detector_impl.h View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M components/metrics/leak_detector/leak_detector_impl.cc View 1 2 3 4 5 chunks +32 lines, -0 lines 0 comments Download
M components/metrics/leak_detector/leak_detector_impl_unittest.cc View 1 2 3 4 15 chunks +118 lines, -27 lines 1 comment Download

Messages

Total messages: 24 (11 generated)
Simon Que
4 years, 8 months ago (2016-04-18 18:25:24 UTC) #5
Will Harris
are all these changes part of a master plan, how are you deciding that you ...
4 years, 8 months ago (2016-04-20 00:52:38 UTC) #6
Simon Que
On 2016/04/20 00:52:38, Will Harris wrote: > are all these changes part of a master ...
4 years, 8 months ago (2016-04-20 01:52:33 UTC) #7
Simon Que
Here's a slideshow that explains it: https://docs.google.com/presentation/d/15P1qTloLEZa20aNUl_-A6JqojTebwxTSrMdGk7Ny_Fo/edit#slide=id.p
4 years, 8 months ago (2016-04-20 22:06:25 UTC) #8
Will Harris
On 2016/04/20 22:06:25, Simon Que wrote: > Here's a slideshow that explains it: > https://docs.google.com/presentation/d/15P1qTloLEZa20aNUl_-A6JqojTebwxTSrMdGk7Ny_Fo/edit#slide=id.p ...
4 years, 8 months ago (2016-04-20 22:16:06 UTC) #9
Simon Que
On 2016/04/20 22:16:06, Will Harris wrote: > On 2016/04/20 22:06:25, Simon Que wrote: > > ...
4 years, 8 months ago (2016-04-20 22:37:58 UTC) #11
Will Harris
perfect. great explanation as well lgtm.
4 years, 8 months ago (2016-04-20 22:40:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892283004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892283004/60001
4 years, 8 months ago (2016-04-20 23:16:47 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/157981)
4 years, 8 months ago (2016-04-21 00:15:58 UTC) #16
Simon Que
https://codereview.chromium.org/1892283004/diff/80001/components/metrics/leak_detector/leak_detector_impl_unittest.cc File components/metrics/leak_detector/leak_detector_impl_unittest.cc (right): https://codereview.chromium.org/1892283004/diff/80001/components/metrics/leak_detector/leak_detector_impl_unittest.cc#newcode747 components/metrics/leak_detector/leak_detector_impl_unittest.cc:747: // due to the different rates at which they ...
4 years, 8 months ago (2016-04-21 00:33:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892283004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892283004/80001
4 years, 8 months ago (2016-04-21 06:24:14 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-21 07:15:31 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:32:05 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7a9e129ec81d69c64a23d1bf7ab83e3f5ae3b3d4
Cr-Commit-Position: refs/heads/master@{#388707}

Powered by Google App Engine
This is Rietveld 408576698