General

Profile

ko1 (Koichi Sasada)

  • Login: ko1
  • Registered on: 05/28/2008
  • Last sign in: 12/30/2025

Issues

open closed Total
Assigned issues 74 644 718
Reported issues 13 203 216

Projects

Project Roles Registered on
Ruby Committer 05/28/2008

Activity

12/20/2025

05:57 AM Ruby Feature #21767: Consider procs which `self` is Ractor-shareable as Ractor shareable
I think a number of "frozen Proc" is enough small so the incompatibility is enough small to ignore.
So I'm +1.
ko1 (Koichi Sasada)

12/19/2025

06:49 PM Ruby Revision 04e90fe2 (git): skip TestFiberScheduler#test_io_write_on_flush because it makes GC.stat test fragile
ko1 (Koichi Sasada)

12/12/2025

02:01 PM Ruby Bug #21685: Unnecessary context-switching, especially bad on multi-core machines.
https://github.com/ruby/ruby/pull/15529
It seems enough small, so I want to introduce it to 4.0.
ko1 (Koichi Sasada)
09:46 AM Ruby Revision d428d086 (git): Simplify the code
`thread_sched_to_waiting_common0` is no longer needed. ko1 (Koichi Sasada)
06:32 AM Ruby Revision 5ef4f88d (git): use `ractor_sched_lock`
instead of using `rb_native_mutex_lock` directly. ko1 (Koichi Sasada)

12/10/2025

01:23 AM Ruby Revision 3bb97e77 (git): `_RUBY_DEBUG_LOG` usable anywhere
even if `USE_RUBY_DEBUG_LOG=0`.
It becomes `fprintf(stderr, ...)`.
ko1 (Koichi Sasada)

12/09/2025

06:07 PM Ruby Bug #21685: Unnecessary context-switching, especially bad on multi-core machines.
Previous machine is on WSL.
On another vanilla Linux machine
Ubuntu 24.04/Linux 6.8.0-87-generic/i7-13700H nproc:20:
```
all CPU 1 CPU
MN=0 real: 0m8.919s ...
ko1 (Koichi Sasada)
09:06 AM Ruby Bug #21685: Unnecessary context-switching, especially bad on multi-core machines.
Actually MN threads does similar thing.
```
$ time RUBY_MN_THREADS=1 make run
./miniruby -I../../src/trunk/lib -I. -I.ext/common -r./x86_64-linux-fake ../../src/trunk/test.rb
voluntary_ctxt_switches: 56
nonvoluntary_ctxt_switch...
ko1 (Koichi Sasada)

12/08/2025

05:06 PM Ruby Revision bd752290 (git): [ruby/timeout] Revert "Exclude constantly-failing test on x86_64-darwin"
This reverts commit https://github.com/ruby/timeout/commit/45816b1b2602.
https://github.com/ruby/timeout/commit/b54f91e9dd
ko1 (Koichi Sasada)
09:41 AM Ruby Revision 159430e8 (git): ignore Thread creation error
on resource limited environment.
```
stderr output is not empty
bootstraptest.test_ractor.rb_2446_1412.rb:23:in 'Ractor.new': can't create Thread: Cannot allocate memory (ThreadError)
```
ko1 (Koichi Sasada)

Also available in: Atom