Chromium Code Reviews
DescriptionPerform CPU sampling by CPU sampling thread only iff processing thread is not running.
- perform CPU profiler sampling in the sampler thread as we used to;
- skip sampling in the sampling thread if processing thread is running;
- only install SIGPROF handler when CPU profiling is enabled.
BUG=v8:2364
Committed: https://code.google.com/p/v8/source/detail?r=12985
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed review comments, fixed DoCpuProfile() on some platforms #Patch Set 3 : fixed crash in tests due to absent sampler #
Messages
Total messages: 5 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||