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

Issue 2838703003: Stop emitting physical footprint on macOS 10.11. (Closed)

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

Description

Stop emitting physical footprint on macOS 10.11. Despite the fact that the kernel implements physical footprint calculations on macOS 10.11, the syscall task_info(TASK_VM_INFO, ...) always returns 0. For more details [10.11.5], see xnu-3248.50.21/osfmk/kern/task.c:3418. BUG=713854 Review-Url: https://codereview.chromium.org/2838703003 Cr-Commit-Position: refs/heads/master@{#466836} Committed: https://chromium.googlesource.com/chromium/src/+/92efc4259724f8dcbc550cabfe57bc215343ebba

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M base/process/process_metrics_mac.cc View 1 chunk +1 line, -1 line 2 comments Download
M chrome/browser/metrics/metrics_memory_details.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
erikchen
mark: Please review base. asvitkine: Please review chrome/browser/metrics/metrics_memory_details.cc.
3 years, 8 months ago (2017-04-24 22:39:10 UTC) #3
Alexei Svitkine (slow)
lgtm
3 years, 8 months ago (2017-04-24 22:50:19 UTC) #5
Mark Mentovai
LGTM https://codereview.chromium.org/2838703003/diff/1/base/process/process_metrics_mac.cc File base/process/process_metrics_mac.cc (right): https://codereview.chromium.org/2838703003/diff/1/base/process/process_metrics_mac.cc#newcode298 base/process/process_metrics_mac.cc:298: reinterpret_cast<task_info_t>(&task_vm_info), &count); Note that you can also get ...
3 years, 8 months ago (2017-04-24 23:57:21 UTC) #8
erikchen
https://codereview.chromium.org/2838703003/diff/1/base/process/process_metrics_mac.cc File base/process/process_metrics_mac.cc (right): https://codereview.chromium.org/2838703003/diff/1/base/process/process_metrics_mac.cc#newcode298 base/process/process_metrics_mac.cc:298: reinterpret_cast<task_info_t>(&task_vm_info), &count); On 2017/04/24 23:57:21, Mark Mentovai wrote: > ...
3 years, 8 months ago (2017-04-25 00:19:05 UTC) #9
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/2838703003/1
3 years, 8 months ago (2017-04-25 00:20:20 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 00:28:43 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/92efc4259724f8dcbc550cabfe57...

Powered by Google App Engine
This is Rietveld 408576698