Project

General

Profile

Actions

Feature #17270

closed

ObjectSpace.each_object should be restricted on multi-Ractors

Added by ko1 (Koichi Sasada) about 4 years ago. Updated about 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:100441]

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0