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 1718173002: tracing: memory-infra cleanup post-C++11 + test coverage (Closed)

Created:
4 years, 10 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 10 months ago
Reviewers:
ssid, petrcermak
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@incwhatyouuse
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tracing: memory-infra cleanup post-C++11 + test coverage In the context of a bigger refactoring I realized that: - ProcessMemoryDump memory management can be simplified now that we have C++11 moving semantics. - A heap-profiler code path was untested. - Using SmallMap in our big memory dumps it's like drinking diet lemonade with deep fried fish and chips. Also taking the occasion for some minor cleanups and clang-format. Committed: https://crrev.com/fbc697860e2d5e4271990b90ae29a8b1c59417ad Cr-Commit-Position: refs/heads/master@{#376750}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Re petrcermak review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -42 lines) Patch
M base/trace_event/process_memory_dump.h View 1 5 chunks +7 lines, -9 lines 0 comments Download
M base/trace_event/process_memory_dump.cc View 4 chunks +19 lines, -27 lines 0 comments Download
M base/trace_event/process_memory_dump_unittest.cc View 1 6 chunks +33 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (8 generated)
Primiano Tucci (use gerrit)
PTAL. cleanup. Feel free to tick if LG.
4 years, 10 months ago (2016-02-22 13:03:26 UTC) #3
petrcermak
LGTM with some comments about the usage of move operators and some description nits (sorry): ...
4 years, 10 months ago (2016-02-22 13:33:25 UTC) #5
Primiano Tucci (use gerrit)
Thanks https://codereview.chromium.org/1718173002/diff/1/base/trace_event/process_memory_dump.cc File base/trace_event/process_memory_dump.cc (right): https://codereview.chromium.org/1718173002/diff/1/base/trace_event/process_memory_dump.cc#newcode147 base/trace_event/process_memory_dump.cc:147: std::make_pair(mad->absolute_name(), std::move(mad))); On 2016/02/22 13:33:25, petrcermak wrote: > ...
4 years, 10 months ago (2016-02-22 15:56:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718173002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718173002/20001
4 years, 10 months ago (2016-02-22 15:56:56 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-22 17:23:44 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 17:24:46 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fbc697860e2d5e4271990b90ae29a8b1c59417ad
Cr-Commit-Position: refs/heads/master@{#376750}

Powered by Google App Engine
This is Rietveld 408576698