<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/objspace/lib, branch ruby_3_0</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Fix ObjectSpace.dump(obj, output: :stdout)</title>
<updated>2020-10-02T15:00:01+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2020-10-02T09:19:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d0a7189f26dcb185c76771823dcfd20d8d4a7e3e'/>
<id>d0a7189f26dcb185c76771823dcfd20d8d4a7e3e</id>
<content type='text'>
RDoc says `ObjectSpace.dump(obj, output: :stdout)   # =&gt; nil`,
but it returns STDOUT since fbba6bd4e3dff7a61965208fecae908f10c4edbe.

I think it is unintentional change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RDoc says `ObjectSpace.dump(obj, output: :stdout)   # =&gt; nil`,
but it returns STDOUT since fbba6bd4e3dff7a61965208fecae908f10c4edbe.

I think it is unintentional change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noise</title>
<updated>2020-09-15T16:18:13+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2020-09-10T11:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fbba6bd4e3dff7a61965208fecae908f10c4edbe'/>
<id>fbba6bd4e3dff7a61965208fecae908f10c4edbe</id>
<content type='text'>
[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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[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.
</pre>
</div>
</content>
</entry>
</feed>
