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

Issue 2824513003: Add one more histogram to log how many Request are still pending when (Closed)

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

Description

Add one more histogram to log how many Request are still pending when the job controller count hits the limit: 100, 200, etc. We have observed potential memory leaks in crbug.com/711721, which indicates the leak of main job when racing logic is disabled. If the Request is finished and destructed, the main job must be cleaned up in OnRequestComplete(). We used to assume the Request will abort if timed out, maybe there are corner cases where Request will leak. BUG=704988 Review-Url: https://codereview.chromium.org/2824513003 Cr-Commit-Position: refs/heads/master@{#464847} Committed: https://chromium.googlesource.com/chromium/src/+/c77104dfbdbdb4e4952dad12fa2d2352a07e65ff

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M net/http/http_stream_factory_impl.cc View 3 chunks +5 lines, -0 lines 1 comment Download
M net/http/http_stream_factory_impl_job_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Zhongyi Shi
3 years, 8 months ago (2017-04-14 22:20:28 UTC) #2
Ryan Hamilton
lgtm
3 years, 8 months ago (2017-04-14 22:22:28 UTC) #4
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/2824513003/1
3 years, 8 months ago (2017-04-14 22:22:43 UTC) #5
Zhongyi Shi
+ holte@ Steven, could you take a look? If we can get some data this ...
3 years, 8 months ago (2017-04-14 22:24:26 UTC) #7
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/411899)
3 years, 8 months ago (2017-04-14 22:31:08 UTC) #9
Steven Holte
lgtm https://codereview.chromium.org/2824513003/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2824513003/diff/1/net/http/http_stream_factory_impl.cc#newcode399 net/http/http_stream_factory_impl.cc:399: UMA_HISTOGRAM_COUNTS_1M("Net.JobControllerSet.CountOfPendingRequest", It seems like 1M is much bigger ...
3 years, 8 months ago (2017-04-14 22:46:44 UTC) #10
Zhongyi Shi
On 2017/04/14 22:46:44, Steven Holte wrote: > lgtm Thanks for the quick review! > https://codereview.chromium.org/2824513003/diff/1/net/http/http_stream_factory_impl.cc ...
3 years, 8 months ago (2017-04-14 22:53:24 UTC) #11
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/2824513003/1
3 years, 8 months ago (2017-04-14 22:53:52 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-15 01:44:24 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c77104dfbdbdb4e4952dad12fa2d...

Powered by Google App Engine
This is Rietveld 408576698