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

Issue 2845633002: memory-infra: Remove is_enabled_ from MDM (Closed)

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

Description

memory-infra: Remove is_enabled_ from MDM This is one step the eventual refactor to remove Enable/Disable. BUG=705564 Review-Url: https://codereview.chromium.org/2845633002 Cr-Commit-Position: refs/heads/master@{#470340} Committed: https://chromium.googlesource.com/chromium/src/+/49ce146674cbe4be5d7e1b53d270d229830a64ce

Patch Set 1 #

Total comments: 15

Patch Set 2 : rebase #

Patch Set 3 : rebase again #

Patch Set 4 : address comments #

Total comments: 14

Patch Set 5 : rebase #

Patch Set 6 : address comments #

Patch Set 7 : rebase #

Patch Set 8 : fixrebase #

Patch Set 9 : update to fix tests broken by rebase #

Patch Set 10 : add unit test #

Patch Set 11 : add not reached #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -98 lines) Patch
M base/trace_event/memory_dump_manager.h View 1 2 3 4 5 6 3 chunks +7 lines, -10 lines 0 comments Download
M base/trace_event/memory_dump_manager.cc View 1 2 3 4 5 6 7 8 6 chunks +19 lines, -33 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +24 lines, -55 lines 0 comments Download
M base/trace_event/process_memory_dump.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
hjd
So this does pass all the tests... I'm not convinced it's right though
3 years, 7 months ago (2017-04-27 13:02:53 UTC) #8
Primiano Tucci (use gerrit)
Makes sense to me. After ssid cleanup (see CL linked in comment below) I think ...
3 years, 7 months ago (2017-04-28 15:58:17 UTC) #11
ssid
Still thinking if we have more cases. ptal at my comments. Thanks for doing this! ...
3 years, 7 months ago (2017-04-28 18:35:04 UTC) #12
hjd
https://codereview.chromium.org/2845633002/diff/1/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (left): https://codereview.chromium.org/2845633002/diff/1/base/trace_event/memory_dump_manager.cc#oldcode892 base/trace_event/memory_dump_manager.cc:892: subtle::NoBarrier_Store(&is_enabled_, 0); On 2017/04/28 18:35:04, ssid wrote: > Yay ...
3 years, 7 months ago (2017-05-04 11:17:19 UTC) #13
ssid
minor comments, mostly looks good. Feel free to edit the comment suggestions as you like. ...
3 years, 7 months ago (2017-05-04 22:00:23 UTC) #14
ssid
Actually lgtm, if primiano can take a pass.
3 years, 7 months ago (2017-05-04 22:19:16 UTC) #15
hjd
updated, thanks! https://codereview.chromium.org/2845633002/diff/60001/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (right): https://codereview.chromium.org/2845633002/diff/60001/base/trace_event/memory_dump_manager.cc#newcode414 base/trace_event/memory_dump_manager.cc:414: On 2017/05/04 22:00:22, ssid wrote: > DCHECK(dump_type ...
3 years, 7 months ago (2017-05-05 14:54:52 UTC) #16
ssid
great, lgtm thanks!
3 years, 7 months ago (2017-05-05 18:09:19 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/2845633002/200001
3 years, 7 months ago (2017-05-09 13:02:26 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 15:23:35 UTC) #29
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/49ce146674cbe4be5d7e1b53d270...

Powered by Google App Engine
This is Rietveld 408576698