mirror of
https://github.com/ruby/ruby.git
synced 2026-08-31 00:21:56 +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.