ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:100441] [Ruby master Feature#17270] ObjectSpace.each_object should be restricted on multi-Racotrs
@ 2020-10-20  2:28 ko1
  2020-10-26 16:36 ` [ruby-core:100584] [Ruby master Feature#17270] ObjectSpace.each_object should be restricted on multi-Ractors ko1
  0 siblings, 1 reply; 2+ messages in thread
From: ko1 @ 2020-10-20  2:28 UTC (permalink / raw)
  To: ruby-core

Issue #17270 has been reported by ko1 (Koichi Sasada).

----------------------------------------
Feature #17270: ObjectSpace.each_object should be restricted on multi-Racotrs
https://bugs.ruby-lang.org/issues/17270

* Author: ko1 (Koichi Sasada)
* Status: Open
* Priority: Normal
----------------------------------------
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




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:100584] [Ruby master Feature#17270] ObjectSpace.each_object should be restricted on multi-Ractors
  2020-10-20  2:28 [ruby-core:100441] [Ruby master Feature#17270] ObjectSpace.each_object should be restricted on multi-Racotrs ko1
@ 2020-10-26 16:36 ` ko1
  0 siblings, 0 replies; 2+ messages in thread
From: ko1 @ 2020-10-26 16:36 UTC (permalink / raw)
  To: ruby-core

Issue #17270 has been updated by ko1 (Koichi Sasada).


This proposal was confirmed.
We need to introduce same filter for some other methods...

----------------------------------------
Feature #17270: ObjectSpace.each_object should be restricted on multi-Ractors
https://bugs.ruby-lang.org/issues/17270#change-88216

* Author: ko1 (Koichi Sasada)
* Status: Closed
* Priority: Normal
----------------------------------------
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




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-26 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20  2:28 [ruby-core:100441] [Ruby master Feature#17270] ObjectSpace.each_object should be restricted on multi-Racotrs ko1
2020-10-26 16:36 ` [ruby-core:100584] [Ruby master Feature#17270] ObjectSpace.each_object should be restricted on multi-Ractors ko1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).