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

Issue 2911263003: [memory-infra] Add method to override importance of ownership edges (Closed)

Created:
3 years, 6 months ago by ssid
Modified:
3 years, 6 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[memory-infra] Add method to override importance of ownership edges Introduce ProcessMemoryDump::AddOverridableOwnershipEdge which adds edges that can be overriden by another edge by called AddOwnershipEdge with a different importance. BUG=604726 Review-Url: https://codereview.chromium.org/2911263003 Cr-Commit-Position: refs/heads/master@{#477554} Committed: https://chromium.googlesource.com/chromium/src/+/dd9170d74a1072243071753b7fa078e6794e534c

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : Comments. #

Patch Set 4 : Make it public. #

Total comments: 6

Patch Set 5 : Fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -18 lines) Patch
M base/trace_event/memory_allocator_dump_guid.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M base/trace_event/process_memory_dump.h View 1 2 3 5 chunks +15 lines, -2 lines 0 comments Download
M base/trace_event/process_memory_dump.cc View 1 2 3 4 4 chunks +22 lines, -5 lines 0 comments Download
M base/trace_event/process_memory_dump_unittest.cc View 1 2 3 4 5 chunks +74 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/instrumentation/tracing/web_process_memory_dump_test.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (15 generated)
ssid
NOT for review. See if this makes sense from the discussion. Sending to clarify what ...
3 years, 6 months ago (2017-05-31 04:08:27 UTC) #2
hajimehoshi
https://codereview.chromium.org/2911263003/diff/1/base/trace_event/process_memory_dump.h File base/trace_event/process_memory_dump.h (right): https://codereview.chromium.org/2911263003/diff/1/base/trace_event/process_memory_dump.h#newcode57 base/trace_event/process_memory_dump.h:57: std::unordered_map<MemoryAllocatorDumpGuid, MemoryAllocatorDumpEdge>; Just std::map might be better (See /base/containers/README.md). ...
3 years, 6 months ago (2017-05-31 05:45:51 UTC) #3
ssid
https://codereview.chromium.org/2911263003/diff/1/base/trace_event/process_memory_dump.h File base/trace_event/process_memory_dump.h (right): https://codereview.chromium.org/2911263003/diff/1/base/trace_event/process_memory_dump.h#newcode57 base/trace_event/process_memory_dump.h:57: std::unordered_map<MemoryAllocatorDumpGuid, MemoryAllocatorDumpEdge>; On 2017/05/31 05:45:51, hajimehoshi wrote: > Just ...
3 years, 6 months ago (2017-06-02 23:14:47 UTC) #4
ssid
Primiano, ptal thanks
3 years, 6 months ago (2017-06-02 23:18:47 UTC) #8
hajimehoshi
non-owner lgtm
3 years, 6 months ago (2017-06-05 10:06:24 UTC) #12
Primiano Tucci (use gerrit)
Makes sense % 1 bug in the impl, I believe (see note below). I honestly ...
3 years, 6 months ago (2017-06-05 15:23:39 UTC) #13
ssid
On 2017/06/05 15:23:39, Primiano Tucci wrote: > Makes sense % 1 bug in the impl, ...
3 years, 6 months ago (2017-06-05 17:03:29 UTC) #14
Primiano Tucci (use gerrit)
lgtm with minor comments. you rock! https://codereview.chromium.org/2911263003/diff/60001/base/trace_event/process_memory_dump.cc File base/trace_event/process_memory_dump.cc (right): https://codereview.chromium.org/2911263003/diff/60001/base/trace_event/process_memory_dump.cc#newcode345 base/trace_event/process_memory_dump.cc:345: << "Cannot add ...
3 years, 6 months ago (2017-06-06 18:50:50 UTC) #15
ssid
thanks fixed. https://codereview.chromium.org/2911263003/diff/60001/base/trace_event/process_memory_dump.cc File base/trace_event/process_memory_dump.cc (right): https://codereview.chromium.org/2911263003/diff/60001/base/trace_event/process_memory_dump.cc#newcode345 base/trace_event/process_memory_dump.cc:345: << "Cannot add multiple ownership edges between ...
3 years, 6 months ago (2017-06-07 01:16:33 UTC) #17
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/2911263003/80001
3 years, 6 months ago (2017-06-07 05:12:45 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 05:17:59 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/dd9170d74a1072243071753b7fa0...

Powered by Google App Engine
This is Rietveld 408576698