diff options
author | Jean Boussier <[email protected]> | 2020-09-10 13:17:53 +0200 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2020-09-15 09:18:13 -0700 |
commit | fbba6bd4e3dff7a61965208fecae908f10c4edbe (patch) | |
tree | 5ff5a909649db3023f1b1e33531b10eb016668a4 /spec/ruby/library/rexml/attribute/namespace_spec.rb | |
parent | a0d50465dee5fe1bf1dc916f35cb681b0825aced (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 'spec/ruby/library/rexml/attribute/namespace_spec.rb')
0 files changed, 0 insertions, 0 deletions