<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_marshal.rb, 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>merge revision(s) 54c4694994cc3bcfea9058b22ba3e68af6aaf740: [Backport #21961]</title>
<updated>2026-03-25T23:34:22+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-03-25T23:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=acfdc0ac885ea4641f2e7d9d966fbb2acca7c883'/>
<id>acfdc0ac885ea4641f2e7d9d966fbb2acca7c883</id>
<content type='text'>
	[PATCH] marshal.c: properly freeze linked strings

	[Bug #21961]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[PATCH] marshal.c: properly freeze linked strings

	[Bug #21961]
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 097d742a1ed53afb91e83aef01365d68b763357b: [Backport #20009]</title>
<updated>2025-07-19T02:16:49+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2025-07-19T02:16:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=581be2b79cca0cb977fc0d6745cec7dbbe29b134'/>
<id>581be2b79cca0cb977fc0d6745cec7dbbe29b134</id>
<content type='text'>
	[Bug #20009] Support marshaling non-ASCII name class/module
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20009] Support marshaling non-ASCII name class/module
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 9459bedd84d479bb1d7d3d40bada1cecb4701c37: [Backport #19841]</title>
<updated>2025-03-29T06:21:40+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2025-03-29T06:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d2eda78e4091a99c1a387d43967af5794d8eac70'/>
<id>d2eda78e4091a99c1a387d43967af5794d8eac70</id>
<content type='text'>
	[Bug #19841] Refine error on marshaling recursive USERDEF
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #19841] Refine error on marshaling recursive USERDEF
</pre>
</div>
</content>
</entry>
<entry>
<title>Tempfile is not needed</title>
<updated>2023-08-20T11:12:45+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-08-19T10:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=812272bdb2e2f68baa7da4b0a977bd898864a7f8'/>
<id>812272bdb2e2f68baa7da4b0a977bd898864a7f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use RTEST and add test for GH-6832</title>
<updated>2022-11-30T21:27:39+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2022-11-30T20:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5752d11f1f33d277356373da749db111e03c96b5'/>
<id>5752d11f1f33d277356373da749db111e03c96b5</id>
<content type='text'>
Technically we shouldn't see Qfalse now, but RTEST also compiles down to
just one branch anyways. Pretty contrived issue, but easy to fix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Technically we shouldn't see Qfalse now, but RTEST also compiles down to
just one branch anyways. Pretty contrived issue, but easy to fix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize Marshal dump/load for large (&gt; 31-bit) FIXNUM (#6229)</title>
<updated>2022-08-15T23:14:12+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2022-08-15T23:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0608a9a08693286a7d84845a216927ff2e3c9951'/>
<id>0608a9a08693286a7d84845a216927ff2e3c9951</id>
<content type='text'>
* Optimize Marshal dump of large fixnum

Marshal's FIXNUM type only supports 31-bit fixnums, so on 64-bit
platforms the 63-bit fixnums need to be represented in Marshal's
BIGNUM.

Previously this was done by converting to a bugnum and serializing the
bignum object.

This commit avoids allocating the intermediate bignum object, instead
outputting the T_FIXNUM directly to a Marshal bignum. This maintains the
same representation as the previous implementation, including not using
LINKs for these large fixnums (an artifact of the previous
implementation always allocating a new BIGNUM).

This commit also avoids unnecessary st_lookups on immediate values,
which we know will not be in that table.

* Fastpath for loading FIXNUM from Marshal bignum

* Run update-deps</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Optimize Marshal dump of large fixnum

Marshal's FIXNUM type only supports 31-bit fixnums, so on 64-bit
platforms the 63-bit fixnums need to be represented in Marshal's
BIGNUM.

Previously this was done by converting to a bugnum and serializing the
bignum object.

This commit avoids allocating the intermediate bignum object, instead
outputting the T_FIXNUM directly to a Marshal bignum. This maintains the
same representation as the previous implementation, including not using
LINKs for these large fixnums (an artifact of the previous
implementation always allocating a new BIGNUM).

This commit also avoids unnecessary st_lookups on immediate values,
which we know will not be in that table.

* Fastpath for loading FIXNUM from Marshal bignum

* Run update-deps</pre>
</div>
</content>
</entry>
<entry>
<title>test/ruby/test_marshal.rb: Prevent "assigned but unused variable" warning</title>
<updated>2021-10-25T11:43:42+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-10-25T11:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=00c7b91f9103fa8bc38ef294f097160c2ce92c56'/>
<id>00c7b91f9103fa8bc38ef294f097160c2ce92c56</id>
<content type='text'>
http://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20211025T093004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20211025T093004Z/ruby/test/ruby/test_marshal.rb:925: warning: assigned but unused variable - objects
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20211025T093004Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20211025T093004Z/ruby/test/ruby/test_marshal.rb:925: warning: assigned but unused variable - objects
```
</pre>
</div>
</content>
</entry>
<entry>
<title>marshal.c Marshal.load accepts a freeze: true option.</title>
<updated>2021-10-05T16:34:56+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2021-09-18T13:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa'/>
<id>afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa</id>
<content type='text'>
Fixes [Feature #18148]

When set, all the loaded objects are returned as frozen.

If a proc is provided, it is called with the objects already frozen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Feature #18148]

When set, all the loaded objects are returned as frozen.

If a proc is provided, it is called with the objects already frozen.
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore Hash#compare_by_identity mode [Bug #18171]</title>
<updated>2021-10-02T02:43:35+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-22T16:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d08721465850a6e6954b43bbfebe2ed5a7256dec'/>
<id>d08721465850a6e6954b43bbfebe2ed5a7256dec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>marshal.c: don't call the proc with partially initialized objects. (#4866)</title>
<updated>2021-09-30T14:50:31+00:00</updated>
<author>
<name>Jean byroot Boussier</name>
<email>jean.boussier+github@shopify.com</email>
</author>
<published>2021-09-30T14:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=529fc204af84f825f98f83c34b004acbaa802615'/>
<id>529fc204af84f825f98f83c34b004acbaa802615</id>
<content type='text'>
For cyclic objects, it requires to keep a st_table of the partially
initialized objects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For cyclic objects, it requires to keep a st_table of the partially
initialized objects.
</pre>
</div>
</content>
</entry>
</feed>
