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

Issue 2787143002: [Reland #1] macOS: Fix a bug in logic to get all memory regions. (Closed)

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

Description

[Reland #1] macOS: Fix a bug in logic to get all memory regions. This CL removes the test NoDuplicateRegions, since grabbing a snapshot of all regions is not an atomic operation - the very act of iterating through all regions and recording stats can change the set of all regions. > macOS: Fix a bug in logic to get all memory regions. > > The logic was accidentally double-counting the size of a memory region, causing > some memory regions to get skipped. > > BUG=706547 > > Review-Url: https://codereview.chromium.org/2786733004 > Cr-Commit-Position: refs/heads/master@{#460585} > Committed: https://chromium.googlesource.com/chromium/src/+/f955ebf64b34ec9cbdcb137c00bc9bba1867d071 BUG=706547 TBR=primiano@chromium.org Review-Url: https://codereview.chromium.org/2787143002 Cr-Commit-Position: refs/heads/master@{#460944} Committed: https://chromium.googlesource.com/chromium/src/+/26bd6d86d59d2c7227e4359d91852426c80134e2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -24 lines) Patch
M components/tracing/common/process_metrics_memory_dump_provider.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/tracing/common/process_metrics_memory_dump_provider_unittest.cc View 1 chunk +0 lines, -23 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
erikchen
TBRing primiano.
3 years, 8 months ago (2017-03-30 21:06:46 UTC) #3
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/2787143002/1
3 years, 8 months ago (2017-03-30 21:08:00 UTC) #5
Primiano Tucci (use gerrit)
lgtm > the very act of iterating through all regions and recording stats can change ...
3 years, 8 months ago (2017-03-30 21:17:21 UTC) #6
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 00:12:27 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/26bd6d86d59d2c7227e4359d9185...

Powered by Google App Engine
This is Rietveld 408576698