summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2020-09-10 13:17:53 +0200
committerAaron Patterson <aaron.patterson@gmail.com>2020-09-15 09:18:13 -0700
commitfbba6bd4e3dff7a61965208fecae908f10c4edbe (patch)
tree5ff5a909649db3023f1b1e33531b10eb016668a4 /vm_insnhelper.c
parenta0d50465dee5fe1bf1dc916f35cb681b0825aced (diff)
Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noise
[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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3530
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions