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

Issue 6532051: Fix heap profiler to always append the process id to the heap dump.... (Closed)

Created:
9 years, 10 months ago by Alexander Potapenko
Modified:
9 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix heap profiler to always append the process id to the heap dump. To run Chrome: HEAP_PROFILE_ALLOCATION_INTERVAL=1000000 HEAPPROFILE=heapprof out/Debug/chrome To analyze: pprof --text out/Debug/chrome heapprof.21026.0039.heap pprof --gv out/Debug/chrome heapprof.21026.0039.heap (pprof is slooow) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86273

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M third_party/tcmalloc/chromium/src/base/sysinfo.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/heap-profiler.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Alexander Potapenko
Please review.
9 years, 7 months ago (2011-05-20 15:07:46 UTC) #1
willchan no longer on Chromium
LGTM http://codereview.chromium.org/6532051/diff/4001/third_party/tcmalloc/chromium/src/base/sysinfo.cc File third_party/tcmalloc/chromium/src/base/sysinfo.cc (right): http://codereview.chromium.org/6532051/diff/4001/third_party/tcmalloc/chromium/src/base/sysinfo.cc#newcode192 third_party/tcmalloc/chromium/src/base/sysinfo.cc:192: envval[0] |= 128; // set high bit for ...
9 years, 7 months ago (2011-05-20 21:26:06 UTC) #2
Alexander Potapenko
9 years, 7 months ago (2011-05-23 09:45:01 UTC) #3
Fixed and committed.

http://codereview.chromium.org/6532051/diff/4001/third_party/tcmalloc/chromiu...
File third_party/tcmalloc/chromium/src/base/sysinfo.cc (right):

http://codereview.chromium.org/6532051/diff/4001/third_party/tcmalloc/chromiu...
third_party/tcmalloc/chromium/src/base/sysinfo.cc:192: envval[0] |= 128;        
            // set high bit for kids to seed
On 2011/05/20 21:26:06, willchan wrote:
> seed? is that a typo?

Done.

Powered by Google App Engine
This is Rietveld 408576698