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

Issue 2867213003: memory-infra: Assemble dump results in service (Closed)

Created:
3 years, 7 months ago by hjd
Modified:
3 years, 7 months ago
CC:
chromium-reviews, chrome-grc-reviews_chromium.org, ssid
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

memory-infra: Assemble dump results in service Do two new things: 1) Compute private memory footprint in a platform specific way. 2) Match up OSMemDumps with the correct ChromeMemDump. Both of these require a bit more work, we need to get the correct PIDs to do 2, 1 needs to be implemented on Windows & ChromeOS, improved on OSX and checked on Android.

Patch Set 1 #

Total comments: 2

Patch Set 2 : On 10.12+, use phys_footprint_bytes. #

Patch Set 3 : Remove debugging logging #

Patch Set 4 : rebase #

Patch Set 5 : update some autp types #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -6 lines) Patch
M services/resource_coordinator/memory/coordinator/coordinator_impl.h View 1 2 3 2 chunks +3 lines, -0 lines 2 comments Download
M services/resource_coordinator/memory/coordinator/coordinator_impl.cc View 1 2 3 4 2 chunks +54 lines, -5 lines 2 comments Download
M services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom View 1 2 3 1 chunk +1 line, -1 line 2 comments Download

Depends on Patchset:

Messages

Total messages: 18 (6 generated)
hjd
first pass on assembling dump results in service ptal, thanks! :)
3 years, 7 months ago (2017-05-09 18:43:56 UTC) #2
hjd
https://codereview.chromium.org/2867213003/diff/1/services/resource_coordinator/memory/coordinator/coordinator_impl.cc File services/resource_coordinator/memory/coordinator/coordinator_impl.cc (right): https://codereview.chromium.org/2867213003/diff/1/services/resource_coordinator/memory/coordinator/coordinator_impl.cc#newcode35 services/resource_coordinator/memory/coordinator/coordinator_impl.cc:35: // TODO(hjd): On On 10.12+, use phys_footprint_bytes. Erik: Do ...
3 years, 7 months ago (2017-05-09 18:49:38 UTC) #3
erikchen
lgtm https://codereview.chromium.org/2867213003/diff/1/services/resource_coordinator/memory/coordinator/coordinator_impl.cc File services/resource_coordinator/memory/coordinator/coordinator_impl.cc (right): https://codereview.chromium.org/2867213003/diff/1/services/resource_coordinator/memory/coordinator/coordinator_impl.cc#newcode35 services/resource_coordinator/memory/coordinator/coordinator_impl.cc:35: // TODO(hjd): On On 10.12+, use phys_footprint_bytes. On ...
3 years, 7 months ago (2017-05-09 19:22:38 UTC) #4
Primiano Tucci (use gerrit)
As discussed offline, if https://codereview.chromium.org/2871223002/ goes through rebase on top of that.
3 years, 7 months ago (2017-05-10 15:26:38 UTC) #5
hjd
updated ptal
3 years, 7 months ago (2017-05-10 17:27:30 UTC) #6
Primiano Tucci (use gerrit)
LGTM with some comments but this will have to wait on the PID stuff :) ...
3 years, 7 months ago (2017-05-10 17:42:44 UTC) #7
Primiano Tucci (use gerrit)
+dcheng for a 1line uint32 in services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom
3 years, 7 months ago (2017-05-11 18:03:50 UTC) #9
dcheng
LGTM with comment addressed https://codereview.chromium.org/2867213003/diff/80001/services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom File services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom (right): https://codereview.chromium.org/2867213003/diff/80001/services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom#newcode66 services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom:66: uint32 cmm_private_footprint = 0; On ...
3 years, 7 months ago (2017-05-12 07:51:01 UTC) #10
erikchen
On 2017/05/12 07:51:01, dcheng wrote: > LGTM with comment addressed > > https://codereview.chromium.org/2867213003/diff/80001/services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom > File ...
3 years, 7 months ago (2017-05-12 20:02:34 UTC) #11
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/2867213003/80001
3 years, 7 months ago (2017-05-12 20:03:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/267179) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-12 20:05:53 UTC) #16
hjd
3 years, 7 months ago (2017-05-15 12:06:19 UTC) #17
On 2017/05/12 20:05:53, commit-bot: I haz the power wrote:
> Try jobs failed on following builders:
>   android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED,
>
https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm6...)
>   android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED,
>
https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan...)
>   android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED,
>
https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...)
>   linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED,
>
https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
>   mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED,
>
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
>   mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED,
>
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)

Landed by Erik in https://codereview.chromium.org/2876733005, thanks!

Powered by Google App Engine
This is Rietveld 408576698