General

Profile

ko1 (Koichi Sasada)

  • Login: ko1
  • Registered on: 05/28/2008
  • Last sign in: 09/10/2026

Issues

open closed Total
Assigned issues 62 675 737
Reported issues 15 208 223

Projects

Project Roles Registered on
Ruby Committer 05/28/2008

Activity

Today

07:28 AM Ruby Feature #22255 (Closed): Add `timeout:` to Ractor::Port#receive, Ractor.receive and Ractor.select
I got approved by Matz.
https://github.com/ruby/ruby/pull/18418/changes was merged.
ko1 (Koichi Sasada)
07:02 AM Ruby Feature #22226 (Closed): Ractor: class/module ownership -- restrict modification to the Ractor that created it
Applied in changeset commit:git|f8485f7d2615ea3429e4c8c234d15b5ded51120d.
----------
Ractor: make freeze and set_temporary_name owner-only
Requested by matz on [Feature #22226]: a non-owner freezing somebody else's
class is a hole, bec...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision 2e5bf429 (git): Ractor: restrict class/module modification to the creator Ractor
Only the Ractor which created a class/module may modify it: define, remove or
undefine methods, alias, include/prepend, refine, define or remove constants,
register an autoload, and set the class's own instance variables. Reading is
unc...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision 6b9a29a1 (git): Ractor: bring class variables under the class owner
A class variable is shared across the inheritance chain and the class it is
stored in can migrate (cvar_overtaken), so the deciding Ractor is the owner of
the class the variable is actually stored in, not of the receiver it was looked
up...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision 3cb67a20 (git): Ractor: check unshareable leaks when copying a foreign class
Module#initialize_copy (Class#dup etc.) of a class/module created by another
Ractor makes a copy owned by the copying Ractor. Since an owner may read the
unshareable constant and instance variable values of its own classes, a raw
table ...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision f8485f7d (git): Ractor: make freeze and set_temporary_name owner-only
Requested by matz on [Feature #22226]: a non-owner freezing somebody else's
class is a hole, because it lets a third party make a class permanently
unmodifiable. Naming is the same kind of change to the class itself.
Module#freeze chec...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision b8e5bf55 (git): Ractor: check ownership on visibility changes
set_method_visibility only called rb_check_frozen, so public/private/protected
and module_function never met the ownership check, even though the proposal
lists visibility changes as owner-only. A non-owner Ractor could rewrite the
meth...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision f5a57659 (git): Ractor: move a singleton class's ownership with its object
A singleton class belongs to the owner of the object it is attached to, and
Ractor#send(move: true) hands that object over. Without this the receiver could
define singleton methods on a moved object only when its singleton class had not...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision f0bae5f7 (git): Update doc/language/ractor.md and bootstraptest for class/module ownership
Document the model: only the creator Ractor can modify a class/module,
singleton class ownership follows the attached object, classes of a terminated
Ractor become read-only, and the main-Ractor-only rules for class instance
variables, c...
ko1 (Koichi Sasada)
07:02 AM Ruby Revision 77136ec3 (git): NEWS.md: class/module ownership for Ractors
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> ko1 (Koichi Sasada)

Also available in: Atom