<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/mjit.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>MJIT: Cancel all on disastrous situations (#7019)</title>
<updated>2022-12-24T09:13:40+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-12-24T09:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b9332ac8e7126066ac4238443d63eaa4c06789f9'/>
<id>b9332ac8e7126066ac4238443d63eaa4c06789f9</id>
<content type='text'>
I noticed this while running test_yjit with --mjit-call-threshold=1, 
which redefines `Integer#&lt;`. When Ruby is monkey-patched, 
MJIT itself could be broken.

Similarly, Ruby scripts could break MJIT in many different ways. I
prepared the same set of hooks as YJIT so that we could possibly
override it and disable it on those moments. Every constant under
RubyVM::MJIT is private and thus it's an unsupported behavior though.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I noticed this while running test_yjit with --mjit-call-threshold=1, 
which redefines `Integer#&lt;`. When Ruby is monkey-patched, 
MJIT itself could be broken.

Similarly, Ruby scripts could break MJIT in many different ways. I
prepared the same set of hooks as YJIT so that we could possibly
override it and disable it on those moments. Every constant under
RubyVM::MJIT is private and thus it's an unsupported behavior though.</pre>
</div>
</content>
</entry>
<entry>
<title>Polish the public docs for MJIT [ci skip]</title>
<updated>2022-12-22T22:30:09+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-12-22T22:30:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0b2aea861cde3c001e59eafb19f4fa1fa615a5a5'/>
<id>0b2aea861cde3c001e59eafb19f4fa1fa615a5a5</id>
<content type='text'>
Now every private interface is cleaned up, and the public interface is
documented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now every private interface is cleaned up, and the public interface is
documented.
</pre>
</div>
</content>
</entry>
<entry>
<title>Put RubyVM::MJIT::Compiler under ruby_vm directory (#6989)</title>
<updated>2022-12-22T06:46:15+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-12-22T06:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bb4cbd0803c3297ad036008adc7a01159ce44e1e'/>
<id>bb4cbd0803c3297ad036008adc7a01159ce44e1e</id>
<content type='text'>
[Misc #19250]</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Misc #19250]</pre>
</div>
</content>
</entry>
<entry>
<title>MJIT: Make it parsable by Solargraph (#6827)</title>
<updated>2022-11-29T05:33:55+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-29T05:33:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9c13fc614c2de0ca4aa8b6ecdd84033ef689b542'/>
<id>9c13fc614c2de0ca4aa8b6ecdd84033ef689b542</id>
<content type='text'>
* Revert "Revert "MJIT: Make it parsable by Solargraph""

This reverts commit 8e18761da1932df88bfb6505acbda4740e1b2930.

* Call rb_gc_register_mark_object</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Revert "Revert "MJIT: Make it parsable by Solargraph""

This reverts commit 8e18761da1932df88bfb6505acbda4740e1b2930.

* Call rb_gc_register_mark_object</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "MJIT: Make it parsable by Solargraph"</title>
<updated>2022-11-28T08:13:23+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-28T08:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8e18761da1932df88bfb6505acbda4740e1b2930'/>
<id>8e18761da1932df88bfb6505acbda4740e1b2930</id>
<content type='text'>
This reverts commit ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767.

Revert "MJIT: Fix miniruby with MJIT_FORCE_ENABLE"

This reverts commit b033775ed9d9226ba73c1d4a197e55ba89575142.

GitHub Actions is failing. I ran out of time today to investigate it.
will try it again tomorrow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767.

Revert "MJIT: Fix miniruby with MJIT_FORCE_ENABLE"

This reverts commit b033775ed9d9226ba73c1d4a197e55ba89575142.

GitHub Actions is failing. I ran out of time today to investigate it.
will try it again tomorrow.
</pre>
</div>
</content>
</entry>
<entry>
<title>MJIT: Make it parsable by Solargraph</title>
<updated>2022-11-28T07:46:59+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-28T07:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767'/>
<id>ccd8dd6ad395bbd9f5290e0fcb7929e5e5d36767</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress warnings again</title>
<updated>2022-11-28T06:14:48+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-28T06:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87e7b640ebb6002236e601d09347850fab5858df'/>
<id>87e7b640ebb6002236e601d09347850fab5858df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MJIT: Move some private declarations</title>
<updated>2022-11-27T22:50:20+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-27T22:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e3de7230434d5c78cc06d40893b5d7cf41e7e89c'/>
<id>e3de7230434d5c78cc06d40893b5d7cf41e7e89c</id>
<content type='text'>
and clean up legacy comments for the Ruby migration
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and clean up legacy comments for the Ruby migration
</pre>
</div>
</content>
</entry>
<entry>
<title>MJIT: Merge mjit_compiler.rb into mjit.rb</title>
<updated>2022-11-26T23:31:38+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-26T23:10:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b2dcde839d824ba30590ce0a8ab8a2fe281fdeb9'/>
<id>b2dcde839d824ba30590ce0a8ab8a2fe281fdeb9</id>
<content type='text'>
There are too many mjit_compiler.* files. It was hard to find files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are too many mjit_compiler.* files. It was hard to find files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move RubyVM::MJIT to builtin Ruby</title>
<updated>2022-06-15T17:52:37+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-06-15T17:19:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=23459e4dbb736b28873a85637d141f77167cacee'/>
<id>23459e4dbb736b28873a85637d141f77167cacee</id>
<content type='text'>
just less C code to maintain
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
just less C code to maintain
</pre>
</div>
</content>
</entry>
</feed>
