Project

General

Profile

Activity

From 09/20/2025 to 09/26/2025

Today

12:14 AM Revision cc1fd649 (git): ZJIT: Remove an obsoleted PC guard
A little follow-up on https://github.com/ruby/ruby/pull/14653
Now that we don't generate a PC-less side exit at the ...
k0kubun (Takashi Kokubun)

09/25/2025

11:57 PM Revision 61a0de1b (git): ZJIT: Compile ISEQ with optional arguments (#14653)
Takashi Kokubun
11:27 PM Revision a1a1c908 (git): [rubygems/rubygems] add loading support on Windows
https://github.com/rubygems/rubygems/commit/04574ba59a sodacris (Jua-Shun Wong)
11:27 PM Revision b600c95d (git): [rubygems/rubygems] skip checking title on Windows because it's not supported
https://github.com/rubygems/rubygems/commit/fd2c54f371 sodacris (Jua-Shun Wong)
10:37 PM Bug #21342 (Closed): Segfault: invalid keeping_mutexes when using Mutex in Thread then Fiber after GC
Applied in changeset commit:git|62430c19c9f1ab49429cebe65f30588472648c95.
----------
Properly unlock locked mutexes ...
Anonymous
10:36 PM Revision 328d2037 (git): ZJIT: Remove dead CMEs from `Invariants`
alanwu (Alan Wu)
10:36 PM Revision 63483e75 (git): ZJIT: Actually call rb_zjit_root_update_references()
Previously unused. alanwu (Alan Wu)
10:36 PM Revision 6ea75573 (git): ZJIT: Reference update `Invariant::cme_patch_points`
alanwu (Alan Wu)
10:36 PM Revision adfa784e (git): ZJIT: Forget about dead ISEQs in `Invariants`
Without this, we crash during reference update. alanwu (Alan Wu)
10:36 PM Revision 00e6c101 (git): ZJIT: Standardize to `Iterator::map` in `Invariants::update_references`
The old code was doing a manual HashSet/HashMap rebuild, and there isn't
a clear performance advantage over `Iterator...
alanwu (Alan Wu)
10:30 PM Revision 1a52c42e (git): Always use assert-free APIs when profiling and crashing
rb_profile_frames() is used by profilers in a way such that it can run
on any instruction in the binary, and it crash...
alanwu (Alan Wu)
10:29 PM Revision 62430c19 (git): Properly unlock locked mutexes on thread cleanup.
Mutexes were being improperly unlocked on thread cleanup. This bug was
introduced in 050a8954395.
We must keep a ref...
Luke Gruber
08:03 PM Bug #21569 (Closed): [armv7, musl] SIGBUS in ibf_load_object_float due to unaligned VFP double load when reading IBF
Applied in changeset commit:git|354d47ae5bc4edcc94db4a5391ed71a8b9844e57.
----------
IBF: Avoid unaligned load on 32...
amacxz (Aleksey Maximov)
08:03 PM Revision 50393d1a (git): IBF: Remove unnecessary and potentially UB pointer cast
[Bug #21569] alanwu (Alan Wu)
08:03 PM Revision 354d47ae (git): IBF: Avoid unaligned load on 32 bit platforms
[Bug #21569] amacxz (Aleksey Maximov)
01:44 PM Feature #21617: Add Internationalized Domain Name (IDN) support to URI
Just adding my original public API suggestions, for visibility and further discussion by the core team.
I propose ...
chucke (Tiago Cardoso)
11:05 AM Feature #21617: Add Internationalized Domain Name (IDN) support to URI
@skryukov also pointed to me the existence of https://github.com/y-yagi/uri-whatwg_parser by @y-yagi byroot (Jean Boussier)
07:40 AM Feature #21617 (Open): Add Internationalized Domain Name (IDN) support to URI
Originally proposed by @chucke at https://github.com/ruby/uri/issues/76, trying to formalize it here.
### Context
...
byroot (Jean Boussier)
01:39 PM Feature #20163: Introduce #bit_count method on Integer
We can use Integer#[] to negative numbers.
```
-1[0,8].popcount # => 8
-2[0,8].popcount # => 7
-3[0,8].popcount #...
YO4 (Yoshinao Muramatsu)
06:59 AM Feature #19326 (Closed): Please add a better API for passing a Proc to a Ractor
I think we can close now? byroot (Jean Boussier)
02:08 AM Feature #21616: date ライブラリを deprecated させたい
jinroq (Jinroq SAITOH) wrote:
> #### `Date._parse` を time に移植したい
>
> `Time._parse` なるものが実現できれば十分でしょうか?(それっぽく移植は[し...
nobu (Nobuyoshi Nakada)

09/24/2025

10:48 PM Revision 5e817f98 (git): ZJIT: Prefer *const u8 for consts (#14652)
Takashi Kokubun
10:38 PM Revision a5c98a7b (git): ZJIT: Incorporate bb0-prologue and PC check into HIR (#14643)
* ZJIT: Incorporate bb0-prologue and PC check into HIR
* Fix an outdated comment
* Use shallow clone for LoadPC and...
Takashi Kokubun
08:59 PM Revision 44d0b019 (git): Don't require to set PC before allocating hidden object
ZJIT doesn't set PC before rb_set_ivar(), and that allocates a managed
ID table. Was a false positive from gc_validat...
alanwu (Alan Wu)
08:54 PM Revision de92dd9a (git): ZJIT: Add Ruby class objects to HIR type lattice automatically (#14647)
This:
* gets us out of the business of manually writing a bunch of `if`s
* gets us more type information
* cleans up...
tekknolagi (Maxwell Bernstein)
06:51 PM Feature #19326: Please add a better API for passing a Proc to a Ractor
https://github.com/ruby/ruby/commit/55b1ba3bf276ba82173bd961fb8e0f08bf4182a6
Looks like this commit addresses the ...
sdwolfz (Codruț Gușoi)
05:41 PM Revision d8691641 (git): rb_bug shouldn't assume ec is available (don't use GET_EC())
ec is unavailable on timer thread, for instance. Luke Gruber
02:23 PM Feature #21615: Introduce `Array#values`
@Dan0042 I considered that. I thought it would be too much for one PR. I'll wait for more feedback, and if people are... matheusrich (Matheus Richard)
02:16 PM Feature #21615: Introduce `Array#values`
I understand the idea of making core collection classes ducktype-compatible, but in that case this proposal should al... Dan0042 (Daniel DeLorme)
02:26 AM Feature #21615: Introduce `Array#values`
> I think it should be Array.new(*self).
I can do that, sure.
> That word is negative to convince us.
Noted...
matheusrich (Matheus Richard)
01:50 AM Feature #21615: Introduce `Array#values`
matheusrich (Matheus Richard) wrote:
> Following the **Principle of Least Surprise**, users may reasonably expect `Ar...
nobu (Nobuyoshi Nakada)
01:38 AM Feature #21615: Introduce `Array#values`
matheusrich (Matheus Richard) wrote:
> Add `Array#values`, returning `self`. Implementation could simply alias to `i...
nobu (Nobuyoshi Nakada)
12:49 PM Feature #21616 (Open): date ライブラリを deprecated させたい
### 概要
*date ライブラリが長期間メンテナンスされておらず、機能を time ライブラリに委譲して deprecated させたい*
というお話が出ていると風の噂で耳にしましたが、どこまでを考えられているのかご意...
jinroq (Jinroq SAITOH)
10:06 AM Revision 48eb907f (git): [DOC] Fix formatting of seconds parameter in documentation
There's an additional colon sign in the documentation for Process.clock_gettime Ricardo Trindade
05:55 AM Revision 6cd970b4 (git): [ruby/psych] Remove warning by not calling find_library after pkg_config
If pkg_config returns a truthy value, it found the library and added it
to the global values for the Makefile.
Calli...
etienne (Étienne Barrié)
01:51 AM Revision 5b65e76a (git): fix lvar_state dump size
`ibf_dump_write()` should consider the size of the element. ko1 (Koichi Sasada)
12:48 AM Revision 479cdab3 (git): ZJIT: Allow testing JIT code on zjit-test (#14639)
* ZJIT: Allow testing JIT code on zjit-test
* Resurrect TestingAllocator tests
Takashi Kokubun

09/23/2025

10:04 PM Feature #21615 (Open): Introduce `Array#values`
## Motivation
In Ruby code, it's common to accept arrays and hashes and treat them uniformly as collections of val...
matheusrich (Matheus Richard)
09:08 PM Bug #21614 (Open): thread_sched_wait_events race with timer_thread_wakeup
`thread_sched_wait_events` checks th->sched.waiting_reason.flags under thread_sched_lock but not under
timer_thread....
luke-gru (Luke Gruber)
08:20 PM Revision 06b7a708 (git): Fix thread_profile_frames crashing due to uninitialized PC
ZJIT never sets `cfp->jit_return`, so to avoid crashing while
profiling, we need to explicitly validate the PC of the...
alanwu (Alan Wu)
07:58 PM Feature #21557: Ractor.shareable_proc to make sharable Proc objects, safely and flexibly
Link to the discussion at the dev meeting: https://github.com/ruby/dev-meeting-log/blob/master/2025/DevMeeting-2025-0... Eregon (Benoit Daloze)
07:20 PM Feature #21557: Ractor.shareable_proc to make sharable Proc objects, safely and flexibly
Thank you for implementing this, @ko1! Eregon (Benoit Daloze)
06:59 PM Feature #21557 (Closed): Ractor.shareable_proc to make sharable Proc objects, safely and flexibly
Applied in changeset commit:git|55b1ba3bf276ba82173bd961fb8e0f08bf4182a6.
----------
Ractor.shareable_proc
call-seq...
ko1 (Koichi Sasada)
07:46 PM Revision 39d764ed (git): ZJIT: Add stack overflow check to `gen_ccall_variadic` (#14636)
ZJIT: Add stack overflow check to gen_ccall_variadic Stan Lo
07:18 PM Revision 990ec01e (git): Fix typo in NEWS
Eregon (Benoit Daloze)
07:05 PM Revision 0fe1099d (git): ZJIT: Support gdb for debugging zjit-test (#14637)
Takashi Kokubun
06:59 PM Feature #21550 (Closed): Ractor.shareable_proc/shareable_lambda to make sharable Proc object
Applied in changeset commit:git|55b1ba3bf276ba82173bd961fb8e0f08bf4182a6.
----------
Ractor.shareable_proc
call-seq...
ko1 (Koichi Sasada)
06:59 PM Revision 8fad3e87 (git): use commit hash for net-imap
to catch up new sharable proc semantics. ko1 (Koichi Sasada)
06:59 PM Revision 55b1ba3b (git): Ractor.shareable_proc
call-seq:
Ractor.sharable_proc(self: nil){} -> sharable proc
It returns shareable Proc object. The Proc object is
...
ko1 (Koichi Sasada)
05:20 PM Revision c05ea920 (git): Only set ME cached flag when unset
The same method entry may be reused in multiple caches, so once the
CACHED flag is set, other Ractors may be checking...
jhawthorn (John Hawthorn)
04:13 PM Revision 9a5e48f4 (git): gc_validate_pc(): Exclude imemos, add a test and explain the asserts
The validation is relevant only for traceable userland ruby objects ruby
code could interact with. ZJIT's use of rb_v...
alanwu (Alan Wu)

09/22/2025

10:57 PM Revision cdb9c254 (git): ZJIT: Guard receiver class for CCallVariadic (#14630)
Takashi Kokubun
10:55 PM Revision 1d00c111 (git): ZJIT: Clarify --zjit-disable-hir-opt job names (#14632)
Takashi Kokubun
09:54 PM Revision 98de251c (git): ZJIT: Add more type information to DefinedIvar (#14628)
Add test. tekknolagi (Maxwell Bernstein)
09:27 PM Revision 6b088c87 (git): ZJIT: Clean up RangeType (#14627)
tekknolagi (Maxwell Bernstein)
09:25 PM Revision 93c728ce (git): YJIT: Pass iseq pointer to get/set classvariable functions (#14625)
* YJIT: Pass iseq pointer to get/set classvariable functions
Since we already have the iseq pointer, we can actually...
Stan Lo
09:21 PM Revision cbfe4033 (git): ZJIT: Add polymorphism counters (#14608)
* ZJIT: Add polymorphism counters
* .
* .
aidenfoxivey-shop (Aiden Fox Ivey)
08:11 PM Revision 133e3889 (git): [ruby/erb] [DOC] Correct two errors
https://github.com/ruby/erb/commit/1512314a3b burdettelamar (Burdette Lamar)
07:10 PM Revision 378c4db4 (git): [DOC] Add `snt` and `dnt` to glossary.md
Luke Gruber
05:03 PM Revision 1d152962 (git): Clarify what happens when IO.popen's block returns (#14626)
rwstauner (Randy Stauner)
04:59 PM Revision 4afc6370 (git): Add missing locks to method table
jhawthorn (John Hawthorn)
04:30 PM Revision ccb82041 (git): ZJIT: Improve `zjit_bisect.rb` (#14592)
ZJIT: Improve zjit_bisect.rb
1. The command name in the help message is outdated.
2. When the command failed by itse...
Stan Lo
04:28 PM Revision 6c0a74e5 (git): ZJIT: Refactor NewRangeFixnum (#14607)
## Context
#14409
https://github.com/ruby/ruby/pull/14409#discussion_r2350238583
>You may have noticed that this do...
altxtech (André Soares)
07:55 AM Revision 01de72fc (git): [ruby/erb] [DOC] Doc for #def_method and #def_module
https://github.com/ruby/erb/commit/a082298db7 burdettelamar (Burdette Lamar)
07:55 AM Revision 6cff9b80 (git): [ruby/erb] [DOC] Doc for ERB#def_class
https://github.com/ruby/erb/commit/4ca7784f10 burdettelamar (Burdette Lamar)
02:36 AM Revision 3861e506 (git): Bump lewagon/wait-on-check-action from 1.4.0 to 1.4.1
Bumps [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action) from 1.4.0 to 1.4.1.
- [Release...
dependabot[bot]

09/21/2025

05:12 PM Revision 4a082b5d (git): Fix assertion in rb_gc_impl_mark_weak
The FL_WB_PROTECTED flag is no longer used and is not set on objects, so
that assertion cannot be true. Instead, we s...
peterzhu2118 (Peter Zhu)
03:31 PM Bug #21613: TestGc#test_exception_in_finalizer_procs and TestGc#test_exception_in_finalizer_method fail with ASAN
Excluded in 02299d68bcb0e6eabab2b973b28e9dafbafe6149 Eregon (Benoit Daloze)
03:30 PM Bug #21613 (Open): TestGc#test_exception_in_finalizer_procs and TestGc#test_exception_in_finalizer_method fail with ASAN
See https://github.com/ruby/ruby-dev-builder/actions/runs/17883721287/job/50854696068
```
1) Failure:
Test...
Eregon (Benoit Daloze)
03:30 PM Revision 02299d68 (git): Exclude failing GC finalizer tests with ASAN
* See https://bugs.ruby-lang.org/issues/21613 Eregon (Benoit Daloze)
12:24 PM Revision 3ec597f6 (git): Fix memory leak in cloning complex imemo_fields
When we clone a complex imemo_fields, it calls creates the imemo_fields
using rb_imemo_fields_new_complex, which allo...
peterzhu2118 (Peter Zhu)
08:36 AM Revision 5179b7fb (git): Rename mlhs rule to mlhs_items for clarity in parse.y
Since `mlhs` is already defined as a nonterminal as follows, using the same name as a parameterizing rule is a bit co... ydah (Yudai Takada)

09/20/2025

11:59 PM Revision 5f56a7f9 (git): [DOC] Tweaks for String#ord
burdettelamar (Burdette Lamar)
06:05 AM Misc #21385: Namespace: Suggesting a rename
"Ruby Box" is a registered trademark in Japan by Hitachi Solutions Technology, Ltd.
While this is likely not a legal...
make_now_just (Hiroya Fujinami)
03:05 AM Revision 8d1c4597 (git): ZJIT: Move CI configure below run_opts and specopts
Max Bernstein
03:05 AM Revision d1c845e4 (git): ZJIT: Also run CI without HIR optimizer
Fixes https://github.com/Shopify/ruby/issues/758 Max Bernstein
03:05 AM Revision 451fe6a4 (git): ZJIT: Fix opt_{hash,ary,str}_{freeze,uminus}
The stack layout is incompatible with the way we reify the stack for
generating fallback SendWithoutBlock: the receiv...
Max Bernstein
02:38 AM Revision 254b9b49 (git): ZJIT: Expand the list of safe allocators
It's not just the default allocator; other allocators are also leaf. Max Bernstein
02:38 AM Revision 4a04e6f7 (git): ZJIT: Wrap comment
Max Bernstein
12:30 AM Misc #21606: DevMeeting-2025-10-23
* [Misc #21609] Propose Stan Lo (@st0012) as a core committer (k0kubun)
* To speed up the ZJIT development, can we...
k0kubun (Takashi Kokubun)
 

Also available in: Atom