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

Issue 2891113003: memory instrumentation service: minor cleanups (Closed)

Created:
3 years, 7 months ago by Primiano Tucci (use gerrit)
Modified:
3 years, 7 months ago
CC:
chromium-reviews, chrome-grc-reviews_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

memory instrumentation service: minor cleanups Minor cleanups lefts from the previous CL in preparation of larger upcoming refactoring. BUG=703184 Review-Url: https://codereview.chromium.org/2891113003 Cr-Commit-Position: refs/heads/master@{#473436} Committed: https://chromium.googlesource.com/chromium/src/+/4d1e2198851b4731e2c19fa6d36fcb0329f806fd

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 7

Patch Set 7 : const& #

Patch Set 8 : dskiba suggestion #

Patch Set 9 : remove dcheck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -157 lines) Patch
M services/resource_coordinator/memory/coordinator/coordinator_impl.h View 1 2 3 4 5 6 5 chunks +41 lines, -26 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/coordinator_impl.cc View 1 2 3 4 5 6 7 10 chunks +67 lines, -52 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/coordinator_impl_unittest.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -7 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/process_map.h View 1 2 3 4 5 1 chunk +12 lines, -15 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/process_map.cc View 1 2 3 4 5 6 7 8 2 chunks +17 lines, -22 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/process_map_unittest.cc View 2 chunks +44 lines, -35 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 52 (33 generated)
Primiano Tucci (use gerrit)
3 years, 7 months ago (2017-05-19 00:31:03 UTC) #15
fmeawad
lgtm
3 years, 7 months ago (2017-05-19 00:37:25 UTC) #16
DmitrySkiba
https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h File services/resource_coordinator/memory/coordinator/coordinator_impl.h (right): https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h#newcode104 services/resource_coordinator/memory/coordinator/coordinator_impl.h:104: std::map<mojom::ProcessLocalDumpManager*, std::unique_ptr<ClientInfo>> What is the reason for not storing ...
3 years, 7 months ago (2017-05-19 00:40:21 UTC) #18
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h File services/resource_coordinator/memory/coordinator/coordinator_impl.h (right): https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h#newcode104 services/resource_coordinator/memory/coordinator/coordinator_impl.h:104: std::map<mojom::ProcessLocalDumpManager*, std::unique_ptr<ClientInfo>> On 2017/05/19 00:40:21, DmitrySkiba wrote: > What ...
3 years, 7 months ago (2017-05-19 00:54:05 UTC) #19
DmitrySkiba
https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.cc File services/resource_coordinator/memory/coordinator/coordinator_impl.cc (right): https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.cc#newcode155 services/resource_coordinator/memory/coordinator/coordinator_impl.cc:155: size_t num_deleted = clients_.erase(process_manager); As I understand, this deletes ...
3 years, 7 months ago (2017-05-19 01:19:50 UTC) #20
erikchen
lgtm https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h File services/resource_coordinator/memory/coordinator/coordinator_impl.h (right): https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h#newcode70 services/resource_coordinator/memory/coordinator/coordinator_impl.h:70: QueuedMemoryDumpRequest(const base::trace_event::MemoryDumpRequestArgs args, should these be passed by ...
3 years, 7 months ago (2017-05-19 16:21:37 UTC) #23
Primiano Tucci (use gerrit)
On 2017/05/19 01:19:50, DmitrySkiba wrote: > https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.cc > File services/resource_coordinator/memory/coordinator/coordinator_impl.cc > (right): > > https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.cc#newcode155 ...
3 years, 7 months ago (2017-05-19 16:30:21 UTC) #24
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h File services/resource_coordinator/memory/coordinator/coordinator_impl.h (right): https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.h#newcode70 services/resource_coordinator/memory/coordinator/coordinator_impl.h:70: QueuedMemoryDumpRequest(const base::trace_event::MemoryDumpRequestArgs args, On 2017/05/19 16:21:37, erikchen wrote: > ...
3 years, 7 months ago (2017-05-19 16:31:39 UTC) #25
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/2891113003/120001
3 years, 7 months ago (2017-05-19 16:33:16 UTC) #28
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.cc File services/resource_coordinator/memory/coordinator/coordinator_impl.cc (right): https://codereview.chromium.org/2891113003/diff/100001/services/resource_coordinator/memory/coordinator/coordinator_impl.cc#newcode155 services/resource_coordinator/memory/coordinator/coordinator_impl.cc:155: size_t num_deleted = clients_.erase(process_manager); On 2017/05/19 01:19:50, DmitrySkiba wrote: ...
3 years, 7 months ago (2017-05-19 16:54:54 UTC) #30
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/2891113003/140001
3 years, 7 months ago (2017-05-19 16:56:08 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/375017)
3 years, 7 months ago (2017-05-19 18:39:13 UTC) #35
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/2891113003/140001
3 years, 7 months ago (2017-05-19 22:04:01 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/375329)
3 years, 7 months ago (2017-05-20 00:15:03 UTC) #39
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/2891113003/140001
3 years, 7 months ago (2017-05-20 00:23:33 UTC) #42
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/2891113003/160001
3 years, 7 months ago (2017-05-20 00:26:52 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/298889)
3 years, 7 months ago (2017-05-20 04:02:58 UTC) #47
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/2891113003/160001
3 years, 7 months ago (2017-05-20 13:35:31 UTC) #49
commit-bot: I haz the power
3 years, 7 months ago (2017-05-20 14:15:37 UTC) #52
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/4d1e2198851b4731e2c19fa6d36f...

Powered by Google App Engine
This is Rietveld 408576698