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

Issue 2695833004: Use TRACK_RUN_IN_THIS_SCOPED_REGION for heap profiler (Closed)

Created:
3 years, 10 months ago by ssid
Modified:
3 years, 10 months ago
Reviewers:
dcheng
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TRACK_RUN_IN_THIS_SCOPED_REGION for heap profiler Currently the heap profiler records the current task context using the posted from location. But for ipc messages all the tasks are posted from ipc.h. TRACK_RUN_IN_THIS_SCOPED_REGION solves the same problem for showing the posted from info in about:profiler. Use this macro for heap profiling as well. BUG=594803 Review-Url: https://codereview.chromium.org/2695833004 Cr-Commit-Position: refs/heads/master@{#450880} Committed: https://chromium.googlesource.com/chromium/src/+/27cd72d3ccb96dc69f03b968cb47aae4801a8db1

Patch Set 1 #

Patch Set 2 : nit. #

Total comments: 4

Patch Set 3 : Use __COUNTER__. #

Total comments: 2

Patch Set 4 : fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -13 lines) Patch
M base/profiler/scoped_profile.h View 1 2 3 1 chunk +23 lines, -13 lines 0 comments Download

Messages

Total messages: 36 (25 generated)
ssid
+dcheng ptal, Thanks! The formatting seems to be off and it's the git cl format. ...
3 years, 10 months ago (2017-02-15 00:41:10 UTC) #2
dcheng
I think there might be a typo in the CL description, as I don't understand ...
3 years, 10 months ago (2017-02-15 08:12:44 UTC) #7
ssid
https://codereview.chromium.org/2695833004/diff/20001/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/2695833004/diff/20001/base/profiler/scoped_profile.h#newcode27 base/profiler/scoped_profile.h:27: #define LINE_BASED_VARIABLE_NAME_FOR_HEAP_PROFILING \ On 2017/02/15 08:12:44, dcheng wrote: > ...
3 years, 10 months ago (2017-02-15 18:59:48 UTC) #8
dcheng
https://codereview.chromium.org/2695833004/diff/20001/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/2695833004/diff/20001/base/profiler/scoped_profile.h#newcode27 base/profiler/scoped_profile.h:27: #define LINE_BASED_VARIABLE_NAME_FOR_HEAP_PROFILING \ On 2017/02/15 18:59:47, ssid wrote: > ...
3 years, 10 months ago (2017-02-15 19:14:25 UTC) #9
ssid
Made changes, ptal Thanks! https://codereview.chromium.org/2695833004/diff/20001/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/2695833004/diff/20001/base/profiler/scoped_profile.h#newcode27 base/profiler/scoped_profile.h:27: #define LINE_BASED_VARIABLE_NAME_FOR_HEAP_PROFILING \ On 2017/02/15 ...
3 years, 10 months ago (2017-02-15 19:35:53 UTC) #10
dcheng
On 2017/02/15 19:35:53, ssid wrote: > Made changes, ptal Thanks! > > https://codereview.chromium.org/2695833004/diff/20001/base/profiler/scoped_profile.h > File ...
3 years, 10 months ago (2017-02-15 21:37:00 UTC) #11
ssid
On 2017/02/15 21:37:00, dcheng wrote: > On 2017/02/15 19:35:53, ssid wrote: > > Made changes, ...
3 years, 10 months ago (2017-02-15 21:43:31 UTC) #14
dcheng
lgtm https://codereview.chromium.org/2695833004/diff/40001/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/2695833004/diff/40001/base/profiler/scoped_profile.h#newcode22 base/profiler/scoped_profile.h:22: // Two level indirection is required for correct ...
3 years, 10 months ago (2017-02-15 21:46:58 UTC) #17
ssid
Thanks. https://codereview.chromium.org/2695833004/diff/40001/base/profiler/scoped_profile.h File base/profiler/scoped_profile.h (right): https://codereview.chromium.org/2695833004/diff/40001/base/profiler/scoped_profile.h#newcode22 base/profiler/scoped_profile.h:22: // Two level indirection is required for correct ...
3 years, 10 months ago (2017-02-15 22:13:59 UTC) #18
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/2695833004/60001
3 years, 10 months ago (2017-02-16 04:36:19 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 06:40:40 UTC) #36
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/27cd72d3ccb96dc69f03b968cb47...

Powered by Google App Engine
This is Rietveld 408576698