<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/bootstraptest/test_ractor.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) f6cbf499bc98b851034fffb49fcbb59d495f6f7b: [Backport #21354]</title>
<updated>2025-06-14T02:39:08+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2025-06-14T02:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d5c8fd2043f4425c3fe2a87558dfbd80ebff9911'/>
<id>d5c8fd2043f4425c3fe2a87558dfbd80ebff9911</id>
<content type='text'>
	Fix Symbol#to_proc (rb_sym_to_proc) to be ractor safe

	In non-main ractors, don't use `sym_proc_cache`. It is not thread-safe
	to add to this array without a lock and also it leaks procs from one
	ractor to another. Instead, we create a new proc each time. If this
	results in poor performance we can come up with a solution later.

	Fixes [Bug #21354]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix Symbol#to_proc (rb_sym_to_proc) to be ractor safe

	In non-main ractors, don't use `sym_proc_cache`. It is not thread-safe
	to add to this array without a lock and also it leaks procs from one
	ractor to another. Instead, we create a new proc each time. If this
	results in poor performance we can come up with a solution later.

	Fixes [Bug #21354]
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip a flaky Ractor test</title>
<updated>2024-05-29T16:38:46+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2024-05-29T16:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8c29a3776e9e9ba070425c5b6548ecbc8ee21366'/>
<id>8c29a3776e9e9ba070425c5b6548ecbc8ee21366</id>
<content type='text'>
https://github.com/ruby/ruby/actions/runs/9289798294/job/25564563437
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ruby/actions/runs/9289798294/job/25564563437
</pre>
</div>
</content>
</entry>
<entry>
<title>moved object should not have a shape ID</title>
<updated>2023-12-19T22:04:32+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2023-12-19T18:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=054f56fd3e5bf84e5443896fd1f4e439c2773c60'/>
<id>054f56fd3e5bf84e5443896fd1f4e439c2773c60</id>
<content type='text'>
fix [Bug #19917]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix [Bug #19917]
</pre>
</div>
</content>
</entry>
<entry>
<title>remove `Ractor::Selector` from Ruby level</title>
<updated>2023-12-15T16:00:01+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2023-12-15T09:25:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c9a9b8036c71974ab938a8bb3d6f095d4a318a8e'/>
<id>c9a9b8036c71974ab938a8bb3d6f095d4a318a8e</id>
<content type='text'>
`Ractor::Selector` is not approved by Matz so remove it from
Ruby-level.

The implementation is used by `Ractor.select` so most of implementation
was remaind and calling `rb_init_ractor_selector()`, `Ractor::Selector`
will be defined. I will provide `ractor-selector` gem to try it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`Ractor::Selector` is not approved by Matz so remove it from
Ruby-level.

The implementation is used by `Ractor.select` so most of implementation
was remaind and calling `rb_init_ractor_selector()`, `Ractor::Selector`
will be defined. I will provide `ractor-selector` gem to try it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo [ci skip]</title>
<updated>2023-07-16T15:15:05+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-07-16T15:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d3bcff01583abce2fb095fc67f47e86fa7005755'/>
<id>d3bcff01583abce2fb095fc67f47e86fa7005755</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indirect counter increment</title>
<updated>2023-03-15T04:59:11+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-12-27T02:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ce47ee00ae295b31dc023afb935a60ecc39a1f4b'/>
<id>ce47ee00ae295b31dc023afb935a60ecc39a1f4b</id>
<content type='text'>
`*pcnt++` just dereferences `pcnt` then increments the local variable,
but has no side effect.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`*pcnt++` just dereferences `pcnt` then increments the local variable,
but has no side effect.
</pre>
</div>
</content>
</entry>
<entry>
<title>RJIT: Skip a flaky test_thread test for now</title>
<updated>2023-03-11T07:24:18+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-03-11T07:23:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=973cb64b1c74981aeed028601020bb4425cc7db3'/>
<id>973cb64b1c74981aeed028601020bb4425cc7db3</id>
<content type='text'>
and unskip a ractor test that was actually running
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and unskip a ractor test that was actually running
</pre>
</div>
</content>
</entry>
<entry>
<title>s/mjit/rjit/</title>
<updated>2023-03-07T07:44:01+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-03-07T07:17:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=23ec248e48f696ae986e2b19cd572ece02a5ba55'/>
<id>23ec248e48f696ae986e2b19cd572ece02a5ba55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more GC guards</title>
<updated>2023-03-06T07:28:59+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-03-02T07:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3034553e8dc1e78b96ad283ab57c70e674f54d6e'/>
<id>3034553e8dc1e78b96ad283ab57c70e674f54d6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add a test for Ractor</title>
<updated>2023-03-06T04:30:54+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2023-03-04T17:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=883871d722374b11b0bdd293a027609e8b891ba9'/>
<id>883871d722374b11b0bdd293a027609e8b891ba9</id>
<content type='text'>
Ractor should take care method cache invalidation.
Added test will miss method cache on each method call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ractor should take care method cache invalidation.
Added test will miss method cache on each method call.
</pre>
</div>
</content>
</entry>
</feed>
