mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fbba6bd4e3
[Feature #17045] ObjectSpace.dump_all should allocate as little as possible in the GC heap Up until this commit ObjectSpace.dump_all allocates two Hash because of `rb_scan_args`. It also can allocate a `File` because of `rb_io_get_write_io`. These allocations are problematic because `dump_all` dumps the Ruby heap, so it should try modify as little as possible what it is observing. |
||
---|---|---|
.. | ||
lib | ||
depend | ||
extconf.rb | ||
object_tracing.c | ||
objspace.c | ||
objspace.h | ||
objspace_dump.c |