mirror of
https://github.com/ruby/ruby.git
synced 2026-08-17 02:20:55 +08:00
by using ObjectSpace.trace_object_allocations. `make test-all LEAK_CHECKER_TRACE_OBJECT_ALLOCATION=true` will print not only leaked fds but also where it was created.