I have multiple threads using v8 (correctly guarded by v8::Locker as far as I can tell) and I'm interested in using v8's profiler. The comment above the Profiler class in log.cc states that "The Profiler samples pc and sp values for the main thread.". Is there a technical reason for that or is it just that no one has wanted to profile other threads yet? It seems to me that profiling whichever thread holds the global lock could be productive but I'd love any feedback about fruitful ways to proceed (or reasons not to).
-- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
