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

Issue 2565523002: Instrument SpdySessionPool using MemoryDumpProvider (Closed)

Created:
4 years ago by xunjieli
Modified:
4 years ago
Reviewers:
Bence
CC:
chromium-reviews, cbentzel+watch_chromium.org, davidben, mmenke, eroman, ssid
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Instrument SpdySessionPool using MemoryDumpProvider This CL adds a DumpMemoryStats() method to SpdySessionPool and SpdySession to track memory usage from active and idle socket. BUG=669108 Committed: https://crrev.com/36fa039e84bdf32b6d6da8871fb72117cfdcc0d0 Cr-Commit-Position: refs/heads/master@{#437356}

Patch Set 1 #

Total comments: 4

Patch Set 2 : added test #

Patch Set 3 : fix test #

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -0 lines) Patch
M net/http/http_network_session.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/socket/client_socket_handle.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M net/socket/client_socket_handle.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_pool.h View 2 chunks +9 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_pool.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_pool_unittest.cc View 1 2 2 chunks +57 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
xunjieli
Bence: Could you take a look? This CL is to instrument idle H2 sessions. This ...
4 years ago (2016-12-08 16:02:09 UTC) #3
Bence
LGTM. https://codereview.chromium.org/2565523002/diff/1/net/socket/client_socket_handle.h File net/socket/client_socket_handle.h (right): https://codereview.chromium.org/2565523002/diff/1/net/socket/client_socket_handle.h#newcode131 net/socket/client_socket_handle.h:131: // Dumps memory allocation stats. |parent_dump_absolute_name| is the ...
4 years ago (2016-12-08 19:52:32 UTC) #10
xunjieli
Thanks! https://codereview.chromium.org/2565523002/diff/1/net/socket/client_socket_handle.h File net/socket/client_socket_handle.h (right): https://codereview.chromium.org/2565523002/diff/1/net/socket/client_socket_handle.h#newcode131 net/socket/client_socket_handle.h:131: // Dumps memory allocation stats. |parent_dump_absolute_name| is the ...
4 years ago (2016-12-08 19:55:17 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/2565523002/60001
4 years ago (2016-12-08 19:56:24 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-08 21:43:18 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-08 21:47:43 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/36fa039e84bdf32b6d6da8871fb72117cfdcc0d0
Cr-Commit-Position: refs/heads/master@{#437356}

Powered by Google App Engine
This is Rietveld 408576698