<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/objspace/objspace_dump.c, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>ObjectSpace.dump: handle Module#set_temporary_name (#12068)</title>
<updated>2024-11-12T19:20:36+00:00</updated>
<author>
<name>Jean byroot Boussier</name>
<email>jean.boussier+github@shopify.com</email>
</author>
<published>2024-11-12T19:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a24570a62a584478a7dde5dd716b5c88fe86e9e5'/>
<id>a24570a62a584478a7dde5dd716b5c88fe86e9e5</id>
<content type='text'>
ObjectSpace.dump: handle Module#set_temporary_name

[Bug #20892]

Until the introduction of that method, it was impossible for a
Module name not to be valid JSON, hence it wasn't going through
the slower escaping function.

This assumption no longer hold.

Co-authored-by: Jean Boussier &lt;jean.boussier@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ObjectSpace.dump: handle Module#set_temporary_name

[Bug #20892]

Until the introduction of that method, it was impossible for a
Module name not to be valid JSON, hence it wasn't going through
the slower escaping function.

This assumption no longer hold.

Co-authored-by: Jean Boussier &lt;jean.boussier@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>objspace_dump.c: dump call cache ids with dump_append_id</title>
<updated>2023-11-22T09:24:35+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>byroot@ruby-lang.org</email>
</author>
<published>2023-11-22T08:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6391ae9ebc0b7a6668e57aa9f3c7b76ff83fab70'/>
<id>6391ae9ebc0b7a6668e57aa9f3c7b76ff83fab70</id>
<content type='text'>
Not all `ID` have an associated string.

Fixes a SEGFAULT in ObjectSpace.dump_all spec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not all `ID` have an associated string.

Fixes a SEGFAULT in ObjectSpace.dump_all spec.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "Remove SHAPE_CAPACITY_CHANGE shapes""</title>
<updated>2023-11-13T23:26:36+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2023-11-10T21:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=68869e9bd921e4021a9ee8eee5a36377dd2b2a90'/>
<id>68869e9bd921e4021a9ee8eee5a36377dd2b2a90</id>
<content type='text'>
This reverts commit 5f3fb4f4e397735783743fe52a7899b614bece20.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5f3fb4f4e397735783743fe52a7899b614bece20.
</pre>
</div>
</content>
</entry>
<entry>
<title>Record more info from CALLCACHE in heap dumps</title>
<updated>2023-11-13T23:03:11+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2023-10-13T17:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b41270842aae73bf59e17fb1d175a4ff557f0e87'/>
<id>b41270842aae73bf59e17fb1d175a4ff557f0e87</id>
<content type='text'>
This records the called_id and klass from imemo_callcache objects in
heap dumps.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This records the called_id and klass from imemo_callcache objects in
heap dumps.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Remove SHAPE_CAPACITY_CHANGE shapes"</title>
<updated>2023-11-10T16:27:49+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2023-11-10T16:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5f3fb4f4e397735783743fe52a7899b614bece20'/>
<id>5f3fb4f4e397735783743fe52a7899b614bece20</id>
<content type='text'>
This reverts commit f6910a61122931e4193bcc0fad18d839c319b720.

We're seeing crashes in the test suite of Shopify's core monolith after
this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit f6910a61122931e4193bcc0fad18d839c319b720.

We're seeing crashes in the test suite of Shopify's core monolith after
this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove SHAPE_CAPACITY_CHANGE shapes</title>
<updated>2023-11-09T14:25:02+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2023-11-08T15:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f6910a61122931e4193bcc0fad18d839c319b720'/>
<id>f6910a61122931e4193bcc0fad18d839c319b720</id>
<content type='text'>
We don't need to create a shape to transition capacity as we can
transition the capacity when the capacity of the SHAPE_IVAR changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't need to create a shape to transition capacity as we can
transition the capacity when the capacity of the SHAPE_IVAR changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make every initial size pool shape a root shape</title>
<updated>2023-11-02T17:42:11+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2023-11-02T13:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=38ba040d8bda65321daad8d5bfa8956b5072e826'/>
<id>38ba040d8bda65321daad8d5bfa8956b5072e826</id>
<content type='text'>
This commit makes every initial size pool shape a root shape and assigns
it a capacity of 0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes every initial size pool shape a root shape and assigns
it a capacity of 0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch mid dump to dump_append_string_value</title>
<updated>2023-10-12T08:22:32+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2023-10-11T18:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1c871c08d9dc9893968067de339abd0e05836d74'/>
<id>1c871c08d9dc9893968067de339abd0e05836d74</id>
<content type='text'>
I don't think it's possible to create a CI with a mid which would need
escaping to be in a JSON string, but I think we might as well not rely
on that assumption.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I don't think it's possible to create a CI with a mid which would need
escaping to be in a JSON string, but I think we might as well not rely
on that assumption.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ObjectSpace.dump with super() callinfo</title>
<updated>2023-10-12T08:22:32+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2023-10-11T18:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=635b92099e7ddd1b2eca065134efcfdc7ad7bab3'/>
<id>635b92099e7ddd1b2eca065134efcfdc7ad7bab3</id>
<content type='text'>
super() uses 0 as mid for its callinfo, so we need to check for that to
avoid a segfault when using dump_all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
super() uses 0 as mid for its callinfo, so we need to check for that to
avoid a segfault when using dump_all.
</pre>
</div>
</content>
</entry>
<entry>
<title>Dump name of method for imemo callinfo</title>
<updated>2023-10-02T13:49:13+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2023-10-02T01:16:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=63e504d6e65765740a592ee785147e5eff0d9aed'/>
<id>63e504d6e65765740a592ee785147e5eff0d9aed</id>
<content type='text'>
This commit dumps the `mid` of the imemo callinfo when calling
`ObjectSpace.dump_all`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit dumps the `mid` of the imemo callinfo when calling
`ObjectSpace.dump_all`.
</pre>
</div>
</content>
</entry>
</feed>
