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

Issue 14645016: Use system properties for heap profiler in Android instead of environment variables. (Closed)

Created:
7 years, 7 months ago by Dai Mikurube (NOT FULLTIME)
Modified:
7 years, 7 months ago
CC:
chromium-reviews, dmikurube+memory_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use system properties for heap profiler in Android instead of environment variables. The following system properties are used instead of the environment variables. HEAPPROFILE => heapprof HEAP_PROFILE_ALLOCATION_INTERVAL => heapprof.allocation_interval HEAP_PROFILE_DEALLOCATION_INTERVAL => heapprof.deallocation_interval HEAP_PROFILE_INUSE_INTERVAL => heapprof.inuse_interval HEAP_PROFILE_TIME_INTERVAL => heapprof.time_interval HEAP_PROFILE_MMAP_LOG => heapprof.mmap_log HEAP_PROFILE_MMAP => heapprof.mmap HEAP_PROFILE_ONLY_MMAP => heapprof.only_mmap DEEP_HEAP_PROFILE => heapprof.deep_heap_profile HEAP_PROFILE_TYPE_STATISTICS => heapprof.type_statistics BUG=162208 R=bulach@chromium.org, willchan@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198355

Patch Set 1 #

Patch Set 2 : comments #

Patch Set 3 : rename DEEP_HEAP_PROFILE #

Patch Set 4 : changed property names #

Patch Set 5 : changed the temporary string variable #

Total comments: 6

Patch Set 6 : addressed the comments #

Total comments: 1

Patch Set 7 : addressed the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -17 lines) Patch
M third_party/tcmalloc/chromium/src/base/commandlineflags.h View 1 2 3 4 5 6 3 chunks +50 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/base/sysinfo.cc View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/deep-heap-profile.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/tcmalloc/chromium/src/deep-heap-profile.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profiler.cc View 1 2 3 4 5 6 3 chunks +41 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Dai Mikurube (NOT FULLTIME)
bulach@, Could you review it at this from a viewpoint of Android? willchan@, ditto from ...
7 years, 7 months ago (2013-05-01 17:26:49 UTC) #1
willchan no longer on Chromium
Is this time sensitive? I have some travel coming up, so I may want to ...
7 years, 7 months ago (2013-05-01 17:48:36 UTC) #2
bulach
lgtm on the android side.. will: thanks for the heads up! :) this is not ...
7 years, 7 months ago (2013-05-01 17:55:30 UTC) #3
Dai Mikurube (NOT FULLTIME)
willchan@, It's not time sensitive as bulach@ says. I'm involved in working with bulach@ for ...
7 years, 7 months ago (2013-05-01 18:10:58 UTC) #4
Dai Mikurube (NOT FULLTIME)
Thanks for the comments, bulach@. Updated the patch. https://codereview.chromium.org/14645016/diff/6001/third_party/tcmalloc/chromium/src/base/commandlineflags.h File third_party/tcmalloc/chromium/src/base/commandlineflags.h (right): https://codereview.chromium.org/14645016/diff/6001/third_party/tcmalloc/chromium/src/base/commandlineflags.h#newcode125 third_party/tcmalloc/chromium/src/base/commandlineflags.h:125: static ...
7 years, 7 months ago (2013-05-02 16:26:40 UTC) #5
willchan no longer on Chromium
Only one comment. Otherwise, LGTM. https://codereview.chromium.org/14645016/diff/15001/third_party/tcmalloc/chromium/src/base/commandlineflags.h File third_party/tcmalloc/chromium/src/base/commandlineflags.h (right): https://codereview.chromium.org/14645016/diff/15001/third_party/tcmalloc/chromium/src/base/commandlineflags.h#newcode134 third_party/tcmalloc/chromium/src/base/commandlineflags.h:134: const char kTrueValues[] = ...
7 years, 7 months ago (2013-05-03 14:12:20 UTC) #6
Dai Mikurube (NOT FULLTIME)
Thanks while your travel, willchan. Checking the box...
7 years, 7 months ago (2013-05-03 14:38:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/14645016/21001
7 years, 7 months ago (2013-05-03 14:38:49 UTC) #8
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) googleurl_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=49026
7 years, 7 months ago (2013-05-03 15:04:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/14645016/21001
7 years, 7 months ago (2013-05-03 16:04:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/14645016/21001
7 years, 7 months ago (2013-05-03 16:58:55 UTC) #11
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 7 months ago (2013-05-03 23:26:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/14645016/21001
7 years, 7 months ago (2013-05-04 19:09:09 UTC) #13
commit-bot: I haz the power
7 years, 7 months ago (2013-05-05 03:47:47 UTC) #14
Message was sent while issue was closed.
Change committed as 198355

Powered by Google App Engine
This is Rietveld 408576698