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

Issue 2702083002: Print creator's call-stack on URLRequestContextGetter leak in Debug. (Closed)

Created:
3 years, 10 months ago by Wez
Modified:
3 years, 10 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Print creator's call-stack on URLRequestContextGetter leak in Debug. This adds a StackTrace member to the URLRequestContextGetter base, to allow the call-stack that created the instance to be printed in case of it having to be leaked because of the owning thread having gone away. BUG=693965 Review-Url: https://codereview.chromium.org/2702083002 Cr-Commit-Position: refs/heads/master@{#452289} Committed: https://chromium.googlesource.com/chromium/src/+/c59596d13ec0e105c72dd69661b8bcb505d9afa7

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M net/url_request/url_request_context_getter.h View 2 chunks +5 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_getter.cc View 1 chunk +3 lines, -1 line 2 comments Download

Messages

Total messages: 15 (8 generated)
Wez
PTAL :)
3 years, 10 months ago (2017-02-22 19:43:12 UTC) #6
Ryan Sleevi
LGTM % question https://codereview.chromium.org/2702083002/diff/1/net/url_request/url_request_context_getter.cc File net/url_request/url_request_context_getter.cc (right): https://codereview.chromium.org/2702083002/diff/1/net/url_request/url_request_context_getter.cc#newcode43 net/url_request/url_request_context_getter.cc:43: #if !defined(NDEBUG) Did you mean to ...
3 years, 10 months ago (2017-02-22 19:45:57 UTC) #7
Wez
https://codereview.chromium.org/2702083002/diff/1/net/url_request/url_request_context_getter.cc File net/url_request/url_request_context_getter.cc (right): https://codereview.chromium.org/2702083002/diff/1/net/url_request/url_request_context_getter.cc#newcode43 net/url_request/url_request_context_getter.cc:43: #if !defined(NDEBUG) On 2017/02/22 19:45:57, Ryan Sleevi wrote: > ...
3 years, 10 months ago (2017-02-22 22:18:42 UTC) #8
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/2702083002/1
3 years, 10 months ago (2017-02-22 22:19:37 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/c59596d13ec0e105c72dd69661b8bcb505d9afa7
3 years, 10 months ago (2017-02-23 00:05:44 UTC) #13
Mathieu
On 2017/02/23 00:05:44, commit-bot: I haz the power wrote: > Committed patchset #1 (id:1) as ...
3 years, 10 months ago (2017-02-23 16:17:44 UTC) #14
Wez
3 years, 10 months ago (2017-02-23 20:23:13 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2708923008/ by wez@chromium.org.

The reason for reverting is: This output is too noisy on browser shutdown, where
is apparently now expected that we leak things..

Powered by Google App Engine
This is Rietveld 408576698