Hi all.
I’ve been toying with the idea of creating a patched version of ruby
that is “debug friendly” for helping find leaks, et al.
Some ideas for it would be:
- enable GC_DEBUG so you can know which ruby line created each object.
- patch in the object tracking API so you can trace which objects
reference which others. - patch the GC to allow for the ruby-prof malloc stats.
My thought is to start with 1.9 since it already has some [typically
disabled] GC statistics I like.
Anything else you’d ideally like to see in it? Any suggestions?
Thanks.
-r