Project

General

Profile

Actions

Bug #19387

open

Issue with ObjectSpace.each_objects not returning objects after starting a ractor

Added by luke-gru (Luke Gruber) about 2 years ago. Updated 7 days ago.

Status:
Assigned
Assignee:
Target version:
-
[ruby-core:112091]

Description

r = Ractor.new do
  receive # block, the problem is not the termination of the ractor but the starting
end

ObjectSpace.each_object(IO) { |io|
  p io # we get no objects
}

Related issues 1 (0 open1 closed)

Has duplicate Ruby - Bug #21149: Strange behavior of ObjectSpace.each_object after Ractor.newRejectedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0