Status: ----
Owner: ----
Labels: Type-Bug Priority-Medium

New issue 942 by [email protected]: Profiler: simplify platform-specific code by using pthreads
http://code.google.com/p/v8/issues/detail?id=942

On Linux, Mac, and Windows the profiler implementations are now very similar. We have sleep and grab a sample loop in a thread. We used to have a different implementation on Linux (based on itimers), but discarded it in the end. Given this similarity, on POSIX platforms we should be able to implement our sampling profiler using pthread_self and pthread_kill calls. The only truly platform specific stuff will be extracting data from the context.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to