<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_zjit.rb, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>ZJIT: Avoid runtime exceptions from RubyVM::ZJIT.stats_string (#16139)</title>
<updated>2026-02-10T18:46:40+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2026-02-10T18:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f3bfffe8565b08b3426003aebbe328a0ecedad26'/>
<id>f3bfffe8565b08b3426003aebbe328a0ecedad26</id>
<content type='text'>
Before this it would raise if zjit wasn't enabled
and raise a different exception if zjit was but extended stats were
not (_some_ stats are available).

Co-authored-by: Randy Stauner &lt;randy@r4s6.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this it would raise if zjit wasn't enabled
and raise a different exception if zjit was but extended stats were
not (_some_ stats are available).

Co-authored-by: Randy Stauner &lt;randy@r4s6.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Add a test for `--zjit-stats=&lt;path&gt;` option</title>
<updated>2025-12-14T02:45:48+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-10T13:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f6ef4efaa46cdd5a3cd4aa6e3918f5eec9358557'/>
<id>f6ef4efaa46cdd5a3cd4aa6e3918f5eec9358557</id>
<content type='text'>
Fix up ruby/ruby#15414, 29c29c2b7e972359ab83038c5dc27a7e53ae65c7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix up ruby/ruby#15414, 29c29c2b7e972359ab83038c5dc27a7e53ae65c7
</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Fix tests about `--zjit-stats-quiet` option</title>
<updated>2025-12-14T02:45:48+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-10T13:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3a4d534b5bf68c783aaea34d3f9e33bc96f49a85'/>
<id>3a4d534b5bf68c783aaea34d3f9e33bc96f49a85</id>
<content type='text'>
The `--zjit-stats-quiet` and `--zjit-stats=quiet` options differ.
The latter option, `=quiet`, does print stats to the file "quiet", but
does not suppress output like yjit option `--yjit-stats=quiet`.

Fix up ruby/ruby#15414, 29c29c2b7e972359ab83038c5dc27a7e53ae65c7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `--zjit-stats-quiet` and `--zjit-stats=quiet` options differ.
The latter option, `=quiet`, does print stats to the file "quiet", but
does not suppress output like yjit option `--yjit-stats=quiet`.

Fix up ruby/ruby#15414, 29c29c2b7e972359ab83038c5dc27a7e53ae65c7
</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Nil-fill locals in direct send (#15536)</title>
<updated>2025-12-13T01:00:17+00:00</updated>
<author>
<name>Randy Stauner</name>
<email>randy@r4s6.net</email>
</author>
<published>2025-12-13T01:00:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb7acd75e7ae28ef1a22a7cbf5a50f99667aa8a6'/>
<id>eb7acd75e7ae28ef1a22a7cbf5a50f99667aa8a6</id>
<content type='text'>
Avoid garbage reads from locals in eval.
Before the fix the test fails with

    &lt;"[\"x\", \"x\", \"x\", \"x\"]"&gt; expected but was
    &lt;"[\"x\", \"x\", \"x\", \"x286326928\"]"&gt;.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid garbage reads from locals in eval.
Before the fix the test fails with

    &lt;"[\"x\", \"x\", \"x\", \"x\"]"&gt; expected but was
    &lt;"[\"x\", \"x\", \"x\", \"x286326928\"]"&gt;.</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Don't inline non-parameter locals</title>
<updated>2025-12-12T23:55:18+00:00</updated>
<author>
<name>Randy Stauner</name>
<email>randy@r4s6.net</email>
</author>
<published>2025-12-12T21:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f81d2b5c3d7e41a116b3b81a628b998d8e283be'/>
<id>8f81d2b5c3d7e41a116b3b81a628b998d8e283be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Inline `Hash#[]=`</title>
<updated>2025-12-12T18:26:31+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2025-12-11T21:23:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=309d6ef9c3792d1116809620a01240c7b8f4406e'/>
<id>309d6ef9c3792d1116809620a01240c7b8f4406e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Don't specialize calls with kwsplat (#15513)</title>
<updated>2025-12-12T01:28:11+00:00</updated>
<author>
<name>Randy Stauner</name>
<email>randy@r4s6.net</email>
</author>
<published>2025-12-12T01:28:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3a76625915e57eb328d23ae5dd621d8bf45b30e0'/>
<id>3a76625915e57eb328d23ae5dd621d8bf45b30e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use actual class instead of singleton class in frozen error message</title>
<updated>2025-12-09T22:35:50+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2025-11-23T03:51:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=76fb0d244b95a23116bfe72bb2422395c3a76477'/>
<id>76fb0d244b95a23116bfe72bb2422395c3a76477</id>
<content type='text'>
With the following code:

```ruby
object = []
object.singleton_class
object.freeze
object.instance_variable_set(:@a, 42)
```

The previous error message was:

```
can't modify frozen #&lt;Class:#&lt;Array:0x00000631d1308f78&gt;&gt;: []
```

With this change, the error message is:

```
can't modify frozen Array: []
```

Since we show the inspect value of the affected object, I think
including the singleton class instead of the actual class if it
exists makes the error message harder to understand.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the following code:

```ruby
object = []
object.singleton_class
object.freeze
object.instance_variable_set(:@a, 42)
```

The previous error message was:

```
can't modify frozen #&lt;Class:#&lt;Array:0x00000631d1308f78&gt;&gt;: []
```

With this change, the error message is:

```
can't modify frozen Array: []
```

Since we show the inspect value of the affected object, I think
including the singleton class instead of the actual class if it
exists makes the error message harder to understand.
</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Handle caller_kwarg in direct send when all keyword params are required</title>
<updated>2025-12-09T15:19:38+00:00</updated>
<author>
<name>Randy Stauner</name>
<email>randy@r4s6.net</email>
</author>
<published>2025-11-14T21:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c42f4d80eabc6b9b4117253a2ba2ee0b9526f253'/>
<id>c42f4d80eabc6b9b4117253a2ba2ee0b9526f253</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ZJIT: Test additional arg passing scenarios</title>
<updated>2025-12-09T15:19:38+00:00</updated>
<author>
<name>Randy Stauner</name>
<email>randy@r4s6.net</email>
</author>
<published>2025-11-18T23:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=76d845aa7a0fa07aa3e733528cbd7e48feccfd59'/>
<id>76d845aa7a0fa07aa3e733528cbd7e48feccfd59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
