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

Issue 291723002: Add --trace-memory option for tracing heap memory (Closed)

Created:
6 years, 7 months ago by JungJik
Modified:
6 years, 6 months ago
Reviewers:
bulach, Sami
CC:
chromium-reviews, klundberg+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add --trace-memory option for tracing heap memory desktop-chromium can trace memory status in about://tracing. as same as desktop, this patch enables android to use disabled-by-default-memory option in adb_profile_chrome script. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273031

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M build/android/chrome_profiler/chrome_controller.py View 1 2 3 4 5 4 chunks +13 lines, -1 line 0 comments Download
M build/android/chrome_profiler/main.py View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 27 (0 generated)
JungJik
Please take a look :)
6 years, 7 months ago (2014-05-19 11:32:07 UTC) #1
Sami
Thanks for the patch. One question below. https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py#newcode449 build/android/adb_profile_chrome.py:449: system_properties[_HEAP_PROFILE_MMAP] = ...
6 years, 7 months ago (2014-05-19 11:39:49 UTC) #2
JungJik
https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py#newcode449 build/android/adb_profile_chrome.py:449: system_properties[_HEAP_PROFILE_MMAP] = 0 On 2014/05/19 11:39:49, Sami wrote: > ...
6 years, 7 months ago (2014-05-19 12:08:09 UTC) #3
Sami
https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py#newcode34 build/android/adb_profile_chrome.py:34: _HEAP_PROFILE_MMAP = 'heapprof.mmap' nit: could you call this _HEAP_PROFILE_MMAP_PROPERTY ...
6 years, 7 months ago (2014-05-19 16:00:09 UTC) #4
JungJik
https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py#newcode34 build/android/adb_profile_chrome.py:34: _HEAP_PROFILE_MMAP = 'heapprof.mmap' On 2014/05/19 16:00:10, Sami wrote: > ...
6 years, 7 months ago (2014-05-19 16:35:36 UTC) #5
JungJik
On 2014/05/19 16:35:36, JungJik wrote: > https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py > File build/android/adb_profile_chrome.py (right): > > https://codereview.chromium.org/291723002/diff/20001/build/android/adb_profile_chrome.py#newcode34 > ...
6 years, 7 months ago (2014-05-22 10:01:21 UTC) #6
Sami
Thanks for adding the code to reset the property. I've got one more suggestion to ...
6 years, 7 months ago (2014-05-22 15:52:38 UTC) #7
JungJik
On 2014/05/22 15:52:38, Sami wrote: > Thanks for adding the code to reset the property. ...
6 years, 7 months ago (2014-05-23 04:20:11 UTC) #8
Sami
Thanks and sorry for the delay. lgtm!
6 years, 7 months ago (2014-05-27 10:22:38 UTC) #9
JungJik
On 2014/05/27 10:22:38, Sami wrote: > Thanks and sorry for the delay. lgtm! hooray~ thanks ...
6 years, 7 months ago (2014-05-27 15:01:27 UTC) #10
JungJik
The CQ bit was checked by jungjik.lee@samsung.com
6 years, 7 months ago (2014-05-27 15:01:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jungjik.lee@samsung.com/291723002/50001
6 years, 7 months ago (2014-05-27 15:01:53 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 15:24:05 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 15:26:54 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/10500)
6 years, 7 months ago (2014-05-27 15:26:55 UTC) #15
JungJik
The CQ bit was checked by jungjik.lee@samsung.com
6 years, 7 months ago (2014-05-27 15:30:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jungjik.lee@samsung.com/291723002/50001
6 years, 7 months ago (2014-05-27 15:30:59 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 15:56:01 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 15:59:14 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/69864) linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/28679) linux_chromium_gn_rel ...
6 years, 7 months ago (2014-05-27 15:59:15 UTC) #20
Sami
Oops, I think this clashed with my recent refactoring: https://codereview.chromium.org/290013006/ I'm sorry about that. Would ...
6 years, 7 months ago (2014-05-27 16:03:31 UTC) #21
JungJik
On 2014/05/27 16:03:31, Sami wrote: > Oops, I think this clashed with my recent refactoring: ...
6 years, 7 months ago (2014-05-27 16:29:26 UTC) #22
Sami
Thanks, lgtm with a tiny tweak. https://codereview.chromium.org/291723002/diff/70001/build/android/chrome_profiler/chrome_controller.py File build/android/chrome_profiler/chrome_controller.py (right): https://codereview.chromium.org/291723002/diff/70001/build/android/chrome_profiler/chrome_controller.py#newcode18 build/android/chrome_profiler/chrome_controller.py:18: categories, ring_buffer, trace_memory): ...
6 years, 7 months ago (2014-05-27 16:32:35 UTC) #23
JungJik
The CQ bit was checked by jungjik.lee@samsung.com
6 years, 7 months ago (2014-05-27 16:44:32 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jungjik.lee@samsung.com/291723002/90001
6 years, 7 months ago (2014-05-27 16:45:11 UTC) #25
commit-bot: I haz the power
Change committed as 273031
6 years, 7 months ago (2014-05-27 21:15:30 UTC) #26
Primiano Tucci (use gerrit)
6 years, 6 months ago (2014-06-09 19:27:56 UTC) #27
Message was sent while issue was closed.
Just noted this CL. I see you're interested in memory profiling.
FYI you might be interested in the work in
https://codereview.chromium.org/323893002/ and crbug.com/382489.

Powered by Google App Engine
This is Rietveld 408576698