Chromium Code Reviews
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 #
Messages
Total messages: 9 (5 generated)
|
||||||||||||||||||||||||||||