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

Issue 22908010: Support higher CPU profiler sampling rate on Mac OS X (Closed)

Created:
7 years, 4 months ago by yurys
Modified:
7 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Support higher CPU profiler sampling rate on Mac OS X This change moves sampling to the profiler events processing thread and allows to configure sampling interval on Mac OS X. SamplerThread::SampleContext method was changed into Sampler::DoSample. BUG=v8:2814

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Merged with 23115005 (use signals on Mac OS X) #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -141 lines) Patch
M src/cpu-profiler.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M src/sampler.cc View 1 2 3 9 chunks +73 lines, -140 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
yurys
7 years, 4 months ago (2013-08-16 08:11:43 UTC) #1
yurys
ping
7 years, 4 months ago (2013-08-21 08:40:24 UTC) #2
yurys
Guys, any objections to this change?
7 years, 4 months ago (2013-08-23 06:14:51 UTC) #3
Benedikt Meurer
On 2013/08/23 06:14:51, Yury Semikhatsky wrote: > Guys, any objections to this change? Maybe I'm ...
7 years, 4 months ago (2013-08-23 06:40:27 UTC) #4
yurys
On 2013/08/23 06:40:27, Benedikt Meurer wrote: > On 2013/08/23 06:14:51, Yury Semikhatsky wrote: > > ...
7 years, 4 months ago (2013-08-23 07:23:55 UTC) #5
Benedikt Meurer
7 years, 4 months ago (2013-08-23 07:30:06 UTC) #6
On 2013/08/23 07:23:55, Yury Semikhatsky wrote:
> On 2013/08/23 06:40:27, Benedikt Meurer wrote:
> > On 2013/08/23 06:14:51, Yury Semikhatsky wrote:
> > > Guys, any objections to this change?
> > 
> > Maybe I'm missing something, but what is the objective here? You're
switching
> > the CPU profiler on Mac OS X to use POSIX signals, so most of the Mac OS X
> > specific code you move around here is going away, right?
> 
> Correct. But the full picture is the following. A few days ago I realized that
> we could use signals on Mac OS X and came up with the patch changing Mac OS X
> implementation to use signals. That patch is based on the pile of 4 other
> changes (including this one which had been sent for review 4 days before the
CL
> about signals) to the CPU profiler that stuck due to V8 tree being closed for
2
> weeks. If possible I'd prefer to just land all that CLs consecutively instead
of
> taking out one of them from the middle of the queue and rebasing all the
> following ones trying to merge parts of this change into one of them.

Yeah, sorry, we're not happy with that either.

Powered by Google App Engine
This is Rietveld 408576698