ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: ko1@atdot.net
To: ruby-core@ruby-lang.org
Subject: [ruby-core:100584] [Ruby master Feature#17270] ObjectSpace.each_object should be restricted on multi-Ractors
Date: Mon, 26 Oct 2020 16:36:49 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-88216.20201026163649.17@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-17270.20201020022805.17@ruby-lang.org

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/

      reply	other threads:[~2020-10-26 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-88216.20201026163649.17@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).