v8/test
yurys@chromium.org dc9b817667 Send SIGPROF signals on the profiler event processor thread
The patch is based on the previous one that was rolled out: https://code.google.com/p/v8/source/detail?r=12985

On Linux sampling for CPU profiler is initiated on the profiler event processor thread, other platforms to follow.

CPU profiler continues to use SamplingCircularQueue, we will replave it with a single sample buffer when Mac and Win ports support profiling on the event processing thread.

When --prof option is specified profiling is initiated either on the profiler event processor thread if CPU profiler is on or on the  SignalSender thread as it used to if no CPU profiles are being collected.

ProfilerEventsProcessor::ProcessEventsAndDoSample now waits in a tight loop, processing collected samples until sampling interval expires. To save CPU resources I'm planning to change that to use nanosleep as only one sample is expected in the queue at any point.

BUG=v8:2364

Review URL: https://codereview.chromium.org/12321046

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13735 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-02-26 16:15:32 +00:00
..
benchmarks First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
cctest Send SIGPROF signals on the profiler event processor thread 2013-02-26 16:15:32 +00:00
es5conform First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
message Reland r13188, r13194, r13256 (Deferred formatting of error stack trace during GC). 2013-01-14 13:19:27 +00:00
mjsunit Fix overflow in WriteQuoteJsonString and SlowQuoteJsonString 2013-02-26 11:02:39 +00:00
mozilla De-dupe test/mozilla/mozilla.status 2013-01-18 15:01:53 +00:00
preparser Adjust Android test expectations. 2012-10-19 09:28:23 +00:00
sputnik First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
test262 Make __proto__ a foreign callback on Object.prototype. 2013-02-26 10:46:00 +00:00