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

Issue 1744563002: [memory-infra] Move 'infos' field from Attribute to MemoryAllocatorDump (Closed)

Created:
4 years, 10 months ago by petrcermak
Modified:
4 years, 9 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org, eakuefner
Base URL:
git@github.com:catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[memory-infra] Move 'infos' field from Attribute to MemoryAllocatorDump We want to switch from the memory-infra-specific Attribute class to the Catapult-wide tr.v.ScalarNumeric class in the near future. The latter does not support infos and the feature is currently only used for warnings about the 'size' attribute anyway, so we're moving infos to the associated MemoryAllocatorDump: dump.attrs['size'].infos ----> dump.infos This also allows us to remove the unnecessary attribute cloning methods (the list of infos used to be modified in the UI) since attributes are now treated as immutable (just like numerics). BUG=catapult:#1928 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/00ce707f6ced1c7bb35315fc23a446d4a0643f9c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Primiano's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -272 lines) Patch
M tracing/tracing/model/attribute.html View 5 chunks +2 lines, -26 lines 0 comments Download
M tracing/tracing/model/attribute_test.html View 3 chunks +0 lines, -61 lines 0 comments Download
M tracing/tracing/model/global_memory_dump.html View 5 chunks +7 lines, -9 lines 0 comments Download
M tracing/tracing/model/global_memory_dump_test.html View 14 chunks +36 lines, -46 lines 0 comments Download
M tracing/tracing/model/memory_allocator_dump.html View 3 chunks +8 lines, -2 lines 0 comments Download
M tracing/tracing/ui/analysis/memory_dump_allocator_details_pane.html View 4 chunks +15 lines, -13 lines 0 comments Download
M tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html View 1 3 chunks +14 lines, -115 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (5 generated)
petrcermak
Hi, Please review this patch. Thanks, Petr
4 years, 10 months ago (2016-02-26 18:29:42 UTC) #2
Primiano Tucci (use gerrit)
LGTM thanks https://codereview.chromium.org/1744563002/diff/1/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html File tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html (right): https://codereview.chromium.org/1744563002/diff/1/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html#newcode871 tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html:871: [undefined, SUBALLOCATION_CONTEXT, SUBALLOCATION_CONTEXT, is this intended? Not ...
4 years, 9 months ago (2016-02-29 16:59:57 UTC) #3
petrcermak
Thanks for your comment. Petr https://codereview.chromium.org/1744563002/diff/1/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html File tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html (right): https://codereview.chromium.org/1744563002/diff/1/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html#newcode871 tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html:871: [undefined, SUBALLOCATION_CONTEXT, SUBALLOCATION_CONTEXT, On ...
4 years, 9 months ago (2016-02-29 18:14:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1744563002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1744563002/20001
4 years, 9 months ago (2016-02-29 18:14:47 UTC) #8
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 18:28:07 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698