NS_StackWalk for other threads on Windows needs to be as cheap as possible, since we use it in the built-in profiler (bug 718025).
I have a patch which avoids the overhead of using a third thread if we are walking the stack of another thread.
Created attachment 588498 [details] [diff] [review]
Ignore that last comment, wrong bug #
It would be nice if you found somebody else to review this (preferably somebody who does fewer reviews).
Comment on attachment 588498 [details] [diff] [review]
Sure. Jeff, wanna take a stab at this?