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

Issue 23115005: Use signals for cpu profiling 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

Use signals for cpu profiling on Mac OS X A while ago in r2315 Mac OS X cpu profiler implementation was changed to pause sampled thread instead of sending SIGPROF signal. That was done because at that point profiler send the signal to the whole process and it was handled on a random thread. Now that signal-based implementation uses pthread_kill it may well be used on Mac OS X too. BUG=v8:2814 R=bmeurer@chromium.org, svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16320

Patch Set 1 #

Patch Set 2 : Rebase onto 22908010 #

Patch Set 3 : Rebase #

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 9 chunks +73 lines, -140 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
yurys
7 years, 4 months ago (2013-08-20 09:07:56 UTC) #1
Benedikt Meurer
What's the benefit of this change, other than trying to somehow unify the code paths?
7 years, 4 months ago (2013-08-20 11:58:56 UTC) #2
yurys
On 2013/08/20 11:58:56, Benedikt Meurer wrote: > What's the benefit of this change, other than ...
7 years, 4 months ago (2013-08-20 12:07:36 UTC) #3
Benedikt Meurer
On 2013/08/20 12:07:36, Yury Semikhatsky wrote: > On 2013/08/20 11:58:56, Benedikt Meurer wrote: > > ...
7 years, 4 months ago (2013-08-20 12:13:02 UTC) #4
yurys
On 2013/08/20 12:13:02, Benedikt Meurer wrote: > On 2013/08/20 12:07:36, Yury Semikhatsky wrote: > > ...
7 years, 4 months ago (2013-08-20 12:25:05 UTC) #5
Benedikt Meurer
On 2013/08/20 12:25:05, Yury Semikhatsky wrote: > On 2013/08/20 12:13:02, Benedikt Meurer wrote: > > ...
7 years, 4 months ago (2013-08-20 12:29:19 UTC) #6
yurys
On 2013/08/20 12:29:19, Benedikt Meurer wrote: > On 2013/08/20 12:25:05, Yury Semikhatsky wrote: > > ...
7 years, 4 months ago (2013-08-20 12:42:13 UTC) #7
Benedikt Meurer
Ok, I'm fine with this. It would be nice to have only one way to ...
7 years, 4 months ago (2013-08-21 08:50:41 UTC) #8
Sven Panne
LGTM from me too. As Benedikt already pointed out, there is probably no hope for ...
7 years, 4 months ago (2013-08-21 09:53:24 UTC) #9
yurys
7 years, 3 months ago (2013-08-26 11:53:38 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r16320 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698