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

Issue 2807493002: Track STL containers in QuicStreamFactory::DumpMemoryStats (Closed)

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

Description

Track STL containers in QuicStreamFactory::DumpMemoryStats This CL includes QuicStreamFactory's STL containers in DumpMemoryStats(). This should let us know if any of them grows too big and causes problems. BUG=704953 Review-Url: https://codereview.chromium.org/2807493002 Cr-Commit-Position: refs/heads/master@{#463821} Committed: https://chromium.googlesource.com/chromium/src/+/48e4f10eb4784c4cf1bd09efde38a86457faece2

Patch Set 1 : self #

Total comments: 4

Patch Set 2 : fix build #

Patch Set 3 : Address ssid comments #

Total comments: 2

Patch Set 4 : address zhongyi@ comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -14 lines) Patch
M net/BUILD.gn View 1 2 3 4 chunks +2 lines, -2 lines 0 comments Download
M net/http/disk_cache_based_quic_server_info.h View 3 chunks +4 lines, -3 lines 0 comments Download
M net/http/disk_cache_based_quic_server_info.cc View 1 2 3 chunks +12 lines, -2 lines 0 comments Download
M net/quic/chromium/properties_based_quic_server_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/chromium/properties_based_quic_server_info.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_server_info.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_stream_factory.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/chromium/quic_stream_factory.cc View 1 2 3 5 chunks +39 lines, -6 lines 0 comments Download
M net/quic/chromium/quic_stream_factory_test.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M net/quic/core/quic_server_id.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/quic/core/quic_server_id.cc View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
xunjieli
Cherie and Sid: PTAL. Sid, this shouldn't impact the OnMemoryDump() performance. Let me know if ...
3 years, 8 months ago (2017-04-06 21:29:01 UTC) #4
ssid
I'm good as long as we don't regress performance of the provider. lgtm https://codereview.chromium.org/2807493002/diff/20001/net/http/disk_cache_based_quic_server_info.cc File ...
3 years, 8 months ago (2017-04-07 17:14:04 UTC) #13
xunjieli
Thanks! https://codereview.chromium.org/2807493002/diff/20001/net/http/disk_cache_based_quic_server_info.cc File net/http/disk_cache_based_quic_server_info.cc (right): https://codereview.chromium.org/2807493002/diff/20001/net/http/disk_cache_based_quic_server_info.cc#newcode194 net/http/disk_cache_based_quic_server_info.cc:194: (write_buffer_ == nullptr ? 0 : read_buffer_->size()) + ...
3 years, 8 months ago (2017-04-07 21:37:59 UTC) #16
xunjieli
zhongyi@: a friendly ping!
3 years, 8 months ago (2017-04-11 15:13:54 UTC) #20
Zhongyi Shi
lgtm, thanks for doing this! https://codereview.chromium.org/2807493002/diff/80001/net/quic/chromium/quic_stream_factory.cc File net/quic/chromium/quic_stream_factory.cc (right): https://codereview.chromium.org/2807493002/diff/80001/net/quic/chromium/quic_stream_factory.cc#newcode70 net/quic/chromium/quic_stream_factory.cc:70: // Returns the estimate ...
3 years, 8 months ago (2017-04-11 18:04:39 UTC) #21
xunjieli
Thanks! https://codereview.chromium.org/2807493002/diff/80001/net/quic/chromium/quic_stream_factory.cc File net/quic/chromium/quic_stream_factory.cc (right): https://codereview.chromium.org/2807493002/diff/80001/net/quic/chromium/quic_stream_factory.cc#newcode70 net/quic/chromium/quic_stream_factory.cc:70: // Returns the estimate of dynamically allocated memory ...
3 years, 8 months ago (2017-04-11 21:51:45 UTC) #22
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/2807493002/100001
3 years, 8 months ago (2017-04-11 21:52:33 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 23:07:51 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/48e4f10eb4784c4cf1bd09efde38...

Powered by Google App Engine
This is Rietveld 408576698