Issue #7022 has been updated by rogerdpack (Roger Pack).


hmm...correct me if I'm wrong (I'm trying to maintain the ruby-prof gem here) will the dtrace probes in #2565 help me if I'm running profiling in windows?  Actually if a hook were added for "GC DONE" or the like, I could query using the API at that point, which would probably be enough. Feedbacks?
----------------------------------------
Feature #7022: add event hook for garbage collection
https://bugs.ruby-lang.org/issues/7022#change-29308

Author: rogerdpack (Roger Pack)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


It would be useful for profilers to have more insight into garbage collection.  Feature request: add event hooks for garbage collect start/stop.  For the lazy sweep, start and stop events would also be interesting.
Thanks.


-- 
http://bugs.ruby-lang.org/