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

Issue 2699163002: Whitelist net/ MemoryDumpProvider (Closed)

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

Description

Whitelist net/ MemoryDumpProvider (1) Whitelist net/ MemoryDumpProvider. (2) Run net/ MemoryDumpProvider unittests in background mode. (3) Use PRIxPTR when printing pointer address in MemoryDumpProvider. (4) Annotate the "origin" of a URLRequestContext in a string attribute rather than in the name of the allocator dump. This is to facilitate the regex matching of the whitelist. BUG=669108 Review-Url: https://codereview.chromium.org/2699163002 Cr-Commit-Position: refs/heads/master@{#452836} Committed: https://chromium.googlesource.com/chromium/src/+/d5debfcf471cb88798a6043f28f6631c497ae4de

Patch Set 1 #

Total comments: 3

Patch Set 2 : Patch in ssid@'s whilelist CL #

Patch Set 3 : self #

Patch Set 4 : self #

Patch Set 5 : rebased #

Patch Set 6 : revert unrelated changes #

Patch Set 7 : fix test #

Total comments: 4

Patch Set 8 : ssid comments #

Patch Set 9 : fix test on windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -27 lines) Patch
M base/trace_event/memory_infra_background_whitelist.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M net/base/sdch_manager.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M net/base/sdch_manager_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -6 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 2 3 4 3 chunks +16 lines, -5 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M net/spdy/spdy_session_pool_unittest.cc View 1 2 2 chunks +15 lines, -4 lines 0 comments Download
M net/ssl/ssl_client_session_cache_unittest.cc View 1 2 3 4 2 chunks +13 lines, -3 lines 0 comments Download
M net/url_request/url_request_context.cc View 1 2 3 4 5 6 7 4 chunks +16 lines, -4 lines 0 comments Download
M net/url_request/url_request_context_unittest.cc View 1 2 3 4 2 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 42 (31 generated)
xunjieli
https://codereview.chromium.org/2699163002/diff/1/net/base/sdch_manager_unittest.cc File net/base/sdch_manager_unittest.cc (right): https://codereview.chromium.org/2699163002/diff/1/net/base/sdch_manager_unittest.cc#newcode669 net/base/sdch_manager_unittest.cc:669: base::trace_event::MemoryDumpArgs dump_args = {GetParam()}; sid: Do I need to ...
3 years, 10 months ago (2017-02-17 16:50:12 UTC) #3
ssid
Thanks for working on this. We need to merge this cl with the whitelisting CL. ...
3 years, 10 months ago (2017-02-21 18:07:44 UTC) #4
xunjieli
primiano@: PTAL base/trace_event/memory_infra_background_whitelist.cc ssid@: PTAL all. https://codereview.chromium.org/2699163002/diff/1/net/base/sdch_manager_unittest.cc File net/base/sdch_manager_unittest.cc (right): https://codereview.chromium.org/2699163002/diff/1/net/base/sdch_manager_unittest.cc#newcode669 net/base/sdch_manager_unittest.cc:669: base::trace_event::MemoryDumpArgs dump_args = ...
3 years, 10 months ago (2017-02-23 19:00:22 UTC) #16
Primiano Tucci (use gerrit)
I fell a bit out of the loop on the performance/coverage discussion. defer the choice ...
3 years, 10 months ago (2017-02-23 19:32:40 UTC) #19
ssid
Great, lgtm thanks! One question: Do you believe we this unittests cover all the instrumentation ...
3 years, 10 months ago (2017-02-23 20:41:01 UTC) #22
xunjieli
> One question: Do you believe we this unittests cover all the instrumentation done in ...
3 years, 10 months ago (2017-02-23 20:48:17 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/2699163002/140001
3 years, 10 months ago (2017-02-23 23:10:11 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/388750) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 00:58:09 UTC) #31
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/2699163002/160001
3 years, 10 months ago (2017-02-24 14:55:59 UTC) #34
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/2699163002/180001
3 years, 10 months ago (2017-02-24 14:57:32 UTC) #39
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 15:56:31 UTC) #42
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/d5debfcf471cb88798a6043f28f6...

Powered by Google App Engine
This is Rietveld 408576698