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

Issue 2574513002: Do not create sub MemoryAllocatorDumps in SSLClientSessionCache (Closed)

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

Description

Do not create sub MemoryAllocatorDumps in SSLClientSessionCache SSLClientSessionCache::DumpMemoryStats() creates one MemoryAllocatorDump for each cache entry. To make the memory dump lighter, this CL dumps the total size and count and does not create sub dumps. BUG=669108 Committed: https://crrev.com/3c8373a83964c182d3cab8ca42a22d8493d3931c Cr-Commit-Position: refs/heads/master@{#437981}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -27 lines) Patch
M net/ssl/ssl_client_session_cache.cc View 1 chunk +16 lines, -17 lines 0 comments Download
M net/ssl/ssl_client_session_cache_unittest.cc View 1 2 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
xunjieli
4 years ago (2016-12-12 20:14:13 UTC) #3
ssid
Thanks for fixing this. lgtm % the unittest comment. https://codereview.chromium.org/2574513002/diff/1/net/ssl/ssl_client_session_cache_unittest.cc File net/ssl/ssl_client_session_cache_unittest.cc (right): https://codereview.chromium.org/2574513002/diff/1/net/ssl/ssl_client_session_cache_unittest.cc#newcode330 net/ssl/ssl_client_session_cache_unittest.cc:330: ...
4 years ago (2016-12-12 20:25:24 UTC) #4
xunjieli
Thanks! https://codereview.chromium.org/2574513002/diff/1/net/ssl/ssl_client_session_cache_unittest.cc File net/ssl/ssl_client_session_cache_unittest.cc (right): https://codereview.chromium.org/2574513002/diff/1/net/ssl/ssl_client_session_cache_unittest.cc#newcode330 net/ssl/ssl_client_session_cache_unittest.cc:330: allocator_dumps = process_memory_dump->allocator_dumps(); On 2016/12/12 20:25:24, ssid wrote: ...
4 years ago (2016-12-12 20:49:04 UTC) #5
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/2574513002/20001
4 years ago (2016-12-12 20:50:06 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-13 01:50:27 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-13 01:52:27 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3c8373a83964c182d3cab8ca42a22d8493d3931c
Cr-Commit-Position: refs/heads/master@{#437981}

Powered by Google App Engine
This is Rietveld 408576698