jhawthorn / vernier

📏 next generation CRuby profiler
https://vernier.prof/
MIT License
806 stars 17 forks source link

Started threads should be considered "running" #19

Closed tenderlove closed 1 year ago

tenderlove commented 1 year ago

We used to only sample running threads because started threads didn't have the full VM set yet. In PR #18, we changed the event we listen for, and when that event is fired it should be safe to collect samples. This patch makes "started" threads considered as "running" so we'll get those samples.