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

Issue 2601633002: Use a common buffer across all instances for stack-copy. (Closed)

Created:
3 years, 12 months ago by bcwhite
Modified:
3 years, 7 months ago
Reviewers:
Mike Wittman
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a common buffer across all instances for stack-copy. BUG=671716 Review-Url: https://codereview.chromium.org/2601633002 Cr-Commit-Position: refs/heads/master@{#471294} Committed: https://chromium.googlesource.com/chromium/src/+/1a4d8f0a44795c09c519f9c96fec431793eb5837

Patch Set 1 #

Patch Set 2 : be tolerant of in-use on a production build #

Patch Set 3 : change from shared static buffer to caller-owned 'common' buffer #

Total comments: 20

Patch Set 4 : common -> stackbuffer and other review changes #

Patch Set 5 : attached to new SamplingThread #

Patch Set 6 : rebased #

Total comments: 13

Patch Set 7 : addressed review comments by wittman #

Patch Set 8 : rebased #

Patch Set 9 : use common StackBuffer; update Mac native sampler #

Total comments: 10

Patch Set 10 : make StackBuffer word aligned #

Total comments: 8

Patch Set 11 : addressed review comments by wittman #

Total comments: 2

Patch Set 12 : addressed review comments by wittman #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -60 lines) Patch
M base/profiler/native_stack_sampler.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +30 lines, -2 lines 0 comments Download
M base/profiler/native_stack_sampler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download
M base/profiler/native_stack_sampler_mac.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +27 lines, -39 lines 0 comments Download
M base/profiler/native_stack_sampler_posix.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M base/profiler/native_stack_sampler_win.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +18 lines, -17 lines 0 comments Download
M base/profiler/stack_sampling_profiler.cc View 1 2 3 4 5 6 4 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 128 (107 generated)
bcwhite
3 years, 12 months ago (2016-12-23 16:26:13 UTC) #5
bcwhite
3 years, 11 months ago (2017-01-16 15:23:52 UTC) #23
Mike Wittman
Keeping the creating of the buffer here is reasonable since the sizing is potentially platform-specific. ...
3 years, 11 months ago (2017-01-18 17:02:53 UTC) #24
bcwhite
On 2017/01/18 17:02:53, Mike Wittman wrote: > Keeping the creating of the buffer here is ...
3 years, 11 months ago (2017-01-18 18:53:06 UTC) #25
Mike Wittman
On 2017/01/18 18:53:06, bcwhite wrote: > On 2017/01/18 17:02:53, Mike Wittman wrote: > > Keeping ...
3 years, 11 months ago (2017-01-19 16:15:38 UTC) #26
bcwhite
On 2017/01/19 16:15:38, Mike Wittman wrote: > On 2017/01/18 18:53:06, bcwhite wrote: > > On ...
3 years, 11 months ago (2017-01-24 15:29:12 UTC) #32
Mike Wittman
On 2017/01/24 15:29:12, bcwhite wrote: > How's this? Looking good, thanks. https://codereview.chromium.org/2601633002/diff/120001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): ...
3 years, 11 months ago (2017-01-24 17:20:57 UTC) #33
bcwhite
https://codereview.chromium.org/2601633002/diff/120001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): https://codereview.chromium.org/2601633002/diff/120001/base/profiler/native_stack_sampler.h#newcode28 base/profiler/native_stack_sampler.h:28: class Common { On 2017/01/24 17:20:56, Mike Wittman wrote: ...
3 years, 10 months ago (2017-02-07 15:16:36 UTC) #49
bcwhite
It looks like the multi-sample is going to stick so shall be finish this one?
3 years, 7 months ago (2017-05-01 14:52:08 UTC) #66
Mike Wittman
On 2017/05/01 14:52:08, bcwhite wrote: > It looks like the multi-sample is going to stick ...
3 years, 7 months ago (2017-05-01 20:28:04 UTC) #71
bcwhite
https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h#newcode28 base/profiler/native_stack_sampler.h:28: class StackBuffer { On 2017/05/01 20:28:03, Mike Wittman wrote: ...
3 years, 7 months ago (2017-05-08 14:01:00 UTC) #76
Mike Wittman
The Mac profiler CL was relanded last week and looks to be sticking, so this ...
3 years, 7 months ago (2017-05-09 01:48:05 UTC) #85
bcwhite
https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h#newcode28 base/profiler/native_stack_sampler.h:28: class StackBuffer { On 2017/05/09 01:48:05, Mike Wittman wrote: ...
3 years, 7 months ago (2017-05-09 18:33:33 UTC) #89
Mike Wittman
https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h#newcode58 base/profiler/native_stack_sampler.h:58: static std::unique_ptr<StackBuffer> CreateStackBuffer(); On 2017/05/01 20:28:03, Mike Wittman wrote: ...
3 years, 7 months ago (2017-05-10 01:29:57 UTC) #92
bcwhite
https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h#newcode58 base/profiler/native_stack_sampler.h:58: static std::unique_ptr<StackBuffer> CreateStackBuffer(); On 2017/05/10 01:29:56, Mike Wittman wrote: ...
3 years, 7 months ago (2017-05-10 13:50:38 UTC) #95
Mike Wittman
https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h#newcode58 base/profiler/native_stack_sampler.h:58: static std::unique_ptr<StackBuffer> CreateStackBuffer(); On 2017/05/10 13:50:37, bcwhite wrote: > ...
3 years, 7 months ago (2017-05-10 17:17:22 UTC) #98
bcwhite
https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h File base/profiler/native_stack_sampler.h (right): https://codereview.chromium.org/2601633002/diff/300001/base/profiler/native_stack_sampler.h#newcode58 base/profiler/native_stack_sampler.h:58: static std::unique_ptr<StackBuffer> CreateStackBuffer(); On 2017/05/10 17:17:21, Mike Wittman wrote: ...
3 years, 7 months ago (2017-05-11 16:56:32 UTC) #114
Mike Wittman
lgtm with mentioned changes https://codereview.chromium.org/2601633002/diff/400001/base/profiler/native_stack_sampler_win.cc File base/profiler/native_stack_sampler_win.cc (right): https://codereview.chromium.org/2601633002/diff/400001/base/profiler/native_stack_sampler_win.cc#newcode395 base/profiler/native_stack_sampler_win.cc:395: static constexpr size_t kStackCopyBufferSize = ...
3 years, 7 months ago (2017-05-11 21:07:02 UTC) #117
bcwhite
https://codereview.chromium.org/2601633002/diff/400001/base/profiler/native_stack_sampler_win.cc File base/profiler/native_stack_sampler_win.cc (right): https://codereview.chromium.org/2601633002/diff/400001/base/profiler/native_stack_sampler_win.cc#newcode395 base/profiler/native_stack_sampler_win.cc:395: static constexpr size_t kStackCopyBufferSize = 2 * 1024 * ...
3 years, 7 months ago (2017-05-12 13:11:30 UTC) #122
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/2601633002/500001
3 years, 7 months ago (2017-05-12 13:23:08 UTC) #125
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 13:28:34 UTC) #128
Message was sent while issue was closed.
Committed patchset #12 (id:500001) as
https://chromium.googlesource.com/chromium/src/+/1a4d8f0a44795c09c519f9c96fec...

Powered by Google App Engine
This is Rietveld 408576698