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

Issue 2824313002: Split JobController count histograms into three separate histograms: (Closed)

Created:
3 years, 8 months ago by Zhongyi Shi
Modified:
3 years, 8 months ago
Reviewers:
Steven Holte, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org, net-reviews_chromium.org, Ryan Hamilton
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Split JobController count histograms into three separate histograms: 1. JobController for preconnect, 2. JobController for normal connect, has pending Request, 3. JobController for normal connect, has no Request. The third one will give us better estimation of uncleaned JobControllers and be used to detect memory leaks in JobController layer. BUG=704988 Review-Url: https://codereview.chromium.org/2824313002 Cr-Commit-Position: refs/heads/master@{#465808} Committed: https://chromium.googlesource.com/chromium/src/+/6c16897074391089d36b098902192f6845a11aa5

Patch Set 1 #

Total comments: 10

Patch Set 2 : address nits #

Total comments: 2

Patch Set 3 : remove redundant DCHECKs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -11 lines) Patch
M net/http/http_stream_factory_impl.cc View 1 2 4 chunks +19 lines, -11 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 3 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
Zhongyi Shi
3 years, 8 months ago (2017-04-18 23:43:37 UTC) #2
xunjieli
Nice! https://codereview.chromium.org/2824313002/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2824313002/diff/1/net/http/http_stream_factory_impl.cc#newcode375 net/http/http_stream_factory_impl.cc:375: size_t pending_request_count = 0; nit: s/pending_request_count/num_controllers_with_request https://codereview.chromium.org/2824313002/diff/1/net/http/http_stream_factory_impl.cc#newcode376 net/http/http_stream_factory_impl.cc:376: ...
3 years, 8 months ago (2017-04-19 15:12:14 UTC) #4
Zhongyi Shi
Thanks for helping the review. xunjieli@: Helen, PTAL. https://codereview.chromium.org/2824313002/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2824313002/diff/1/net/http/http_stream_factory_impl.cc#newcode375 net/http/http_stream_factory_impl.cc:375: size_t ...
3 years, 8 months ago (2017-04-19 17:38:53 UTC) #5
xunjieli
https://codereview.chromium.org/2824313002/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2824313002/diff/1/net/http/http_stream_factory_impl.cc#newcode405 net/http/http_stream_factory_impl.cc:405: pending_request_count); On 2017/04/19 17:38:53, Zhongyi Shi wrote: > On ...
3 years, 8 months ago (2017-04-19 17:50:04 UTC) #6
Ryan Hamilton
I'm happy to defer to xunjieli here.
3 years, 8 months ago (2017-04-19 18:23:41 UTC) #7
Zhongyi Shi
https://codereview.chromium.org/2824313002/diff/20001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2824313002/diff/20001/net/http/http_stream_factory_impl.cc#newcode397 net/http/http_stream_factory_impl.cc:397: DCHECK_GE(job_controller_set_.size(), num_controllers_for_preconnect); On 2017/04/19 17:50:04, xunjieli wrote: > I ...
3 years, 8 months ago (2017-04-19 18:43:51 UTC) #8
xunjieli
On 2017/04/19 18:43:51, Zhongyi Shi wrote: > https://codereview.chromium.org/2824313002/diff/20001/net/http/http_stream_factory_impl.cc > File net/http/http_stream_factory_impl.cc (right): > > https://codereview.chromium.org/2824313002/diff/20001/net/http/http_stream_factory_impl.cc#newcode397 ...
3 years, 8 months ago (2017-04-19 18:46:10 UTC) #9
Zhongyi Shi
3 years, 8 months ago (2017-04-19 18:48:07 UTC) #12
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/2824313002/40001
3 years, 8 months ago (2017-04-19 18:48:35 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/415436)
3 years, 8 months ago (2017-04-19 18:58:57 UTC) #15
Zhongyi Shi
holte@: Steven, ptal!
3 years, 8 months ago (2017-04-19 19:08:26 UTC) #17
Steven Holte
lgtm
3 years, 8 months ago (2017-04-19 23:31:04 UTC) #18
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/2824313002/40001
3 years, 8 months ago (2017-04-19 23:35:13 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 23:40:42 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6c16897074391089d36b09890219...

Powered by Google App Engine
This is Rietveld 408576698