Feature #17270
closed
ObjectSpace.each_object should be restricted on multi-Ractors
Added by ko1 (Koichi Sasada) over 3 years ago.
Updated over 3 years ago.
Description
Unshareable objects should not be touched from multiple ractors
so ObjectSpace.each_object should be restricted. On multi-ractor
mode, ObjectSpace.each_object only iterates shareable objects
even if running on the main ractor.
https://github.com/ruby/ruby/pull/3672
- Subject changed from ObjectSpace.each_object should be restricted on multi-Racotrs to ObjectSpace.each_object should be restricted on multi-Ractors
- Status changed from Open to Closed
Applied in changeset git|ade411465dc054af5ff025531649b69134d74b56.
ObjectSpace.each_object with Ractors
Unshareable objects should not be touched from multiple ractors
so ObjectSpace.each_object should be restricted. On multi-ractor
mode, ObjectSpace.each_object only iterates shareable objects.
[Feature #17270]
This proposal was confirmed.
We need to introduce same filter for some other methods...
Also available in: Atom
PDF
Like0
Like0Like0Like0