Issue #22135 has been updated by matz (Yukihiro Matsumoto). Accepted. `_id2ref` has been deprecated and it is fundamentally incompatible with the direction of the runtime (GC and Ractor). Reviving arbitrary objects from integer IDs was never a sound API. Let us remove it. Matz. ---------------------------------------- Feature #22135: Remove obsolete `ObjectSpace#_id2ref` https://bugs.ruby-lang.org/issues/22135#change-118003 * Author: nobu (Nobuyoshi Nakada) * Status: Closed ---------------------------------------- As a result of [Feature #15408], the `ObjectSpace#_id2ref` method has been deprecated and now triggers a warning. However, we recognize that its use had already been discouraged for a long time prior to this, and we believe it is rarely used nowadays. Are there any objections to removing this method in version 4.1? [GH-17577](https://github.com/ruby/ruby/pull/17577) -- https://bugs.ruby-lang.org/