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

Issue 2925073002: Move malloc/partition_alloc memory usage functions to base (Closed)

Created:
3 years, 6 months ago by keishi
Modified:
3 years, 6 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, Dai Mikurube (NOT FULLTIME), vmpstr+watch_chromium.org, wfh+watch_chromium.org, jam, darin-cc_chromium.org, blink-reviews, danakj+watch_chromium.org, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move malloc memory usage function to base Move malloc memory usage function to base so they can be used inside Blink as well as in content/ BUG=None Review-Url: https://codereview.chromium.org/2925073002 Cr-Commit-Position: refs/heads/master@{#480784} Committed: https://chromium.googlesource.com/chromium/src/+/12b598b94796f25a6207e89eb844d2c73145858e

Patch Set 1 #

Patch Set 2 : Moved to process_metrics #

Total comments: 6

Patch Set 3 : Moved to ProcessMetrics method, etc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -46 lines) Patch
M base/process/process_metrics.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M base/process/process_metrics_posix.cc View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M base/process/process_metrics_win.cc View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 2 chunks +3 lines, -46 lines 0 comments Download
M third_party/WebKit/Source/platform/wtf/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/wtf/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/wtf/ProcessMetrics.h View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (15 generated)
keishi
PTAL
3 years, 6 months ago (2017-06-07 12:02:19 UTC) #2
tasak
lgtm
3 years, 6 months ago (2017-06-08 11:03:33 UTC) #4
keishi
PTAL I would like move these so I can send memory usage UMAs from inside ...
3 years, 6 months ago (2017-06-08 11:51:02 UTC) #7
Primiano Tucci (use gerrit)
On 2017/06/08 11:51:02, keishi wrote: > PTAL I would like move these so I can ...
3 years, 6 months ago (2017-06-08 13:27:59 UTC) #8
keishi
On 2017/06/08 13:27:59, Primiano Tucci wrote: > On 2017/06/08 11:51:02, keishi wrote: > > PTAL ...
3 years, 6 months ago (2017-06-08 13:36:39 UTC) #9
Primiano Tucci (use gerrit)
From the technical perspective, In the best case this seems to belong to base/process_metrics.cc, which ...
3 years, 6 months ago (2017-06-08 14:41:21 UTC) #10
keishi
On 2017/06/08 14:41:21, Primiano Tucci wrote: > From the technical perspective, In the best case ...
3 years, 6 months ago (2017-06-09 04:27:58 UTC) #11
haraken
On 2017/06/09 04:27:58, keishi wrote: > On 2017/06/08 14:41:21, Primiano Tucci wrote: > > From ...
3 years, 6 months ago (2017-06-09 04:36:24 UTC) #12
Primiano Tucci (use gerrit)
On 2017/06/09 04:36:24, haraken wrote: > On 2017/06/09 04:27:58, keishi wrote: > > On 2017/06/08 ...
3 years, 6 months ago (2017-06-09 13:16:55 UTC) #13
keishi
On 2017/06/09 13:16:55, Primiano Tucci wrote: > On 2017/06/09 04:36:24, haraken wrote: > > On ...
3 years, 6 months ago (2017-06-12 03:12:42 UTC) #14
keishi
+mark Could you review base/? Thanks.
3 years, 6 months ago (2017-06-14 11:04:18 UTC) #16
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2925073002/diff/20001/base/process/process_metrics.cc File base/process/process_metrics.cc (right): https://codereview.chromium.org/2925073002/diff/20001/base/process/process_metrics.cc#newcode14 base/process/process_metrics.cc:14: #if defined(OS_MACOSX) looks like you could split this file ...
3 years, 6 months ago (2017-06-14 12:10:32 UTC) #17
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2925073002/diff/20001/base/process/process_metrics.cc File base/process/process_metrics.cc (right): https://codereview.chromium.org/2925073002/diff/20001/base/process/process_metrics.cc#newcode172 base/process/process_metrics.cc:172: LightPartitionStatsDumperImpl dumper; also, looks like you should call PartitionDumpTotals(...) ...
3 years, 6 months ago (2017-06-14 12:19:50 UTC) #18
keishi
https://codereview.chromium.org/2925073002/diff/20001/base/process/process_metrics.cc File base/process/process_metrics.cc (right): https://codereview.chromium.org/2925073002/diff/20001/base/process/process_metrics.cc#newcode14 base/process/process_metrics.cc:14: #if defined(OS_MACOSX) On 2017/06/14 12:10:32, Primiano Tucci wrote: > ...
3 years, 6 months ago (2017-06-14 13:21:39 UTC) #19
Primiano Tucci (use gerrit)
Cool, non-owner LGTM. plz update your CL title as it still mentions partition_alloc
3 years, 6 months ago (2017-06-14 13:25:35 UTC) #20
Mark Mentovai
LGTM in base.
3 years, 6 months ago (2017-06-14 13:31:15 UTC) #21
keishi
+kinuko could you review the change to content/renderer/render_thread_impl.cc? Thanks.
3 years, 6 months ago (2017-06-15 07:51:30 UTC) #24
kinuko
lgtm
3 years, 6 months ago (2017-06-15 08:04:52 UTC) #25
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/2925073002/40001
3 years, 6 months ago (2017-06-20 04:54:33 UTC) #32
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 10:25:43 UTC) #35
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/12b598b94796f25a6207e89eb844...

Powered by Google App Engine
This is Rietveld 408576698