[ruby-dev:50977] [Ruby master Bug#17402] Remove deprecated GC-related features
From:
nobu@...
Date:
2020-12-17 05:04:05 UTC
List:
ruby-dev #50977
Issue #17402 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #17402: Remove deprecated GC-related features https://bugs.ruby-lang.org/issues/17402 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- Are these backward compatibilities still needed? I think no. ``` $ RUBY_FREE_MIN=1 RUBY_HEAP_MIN_SLOTS=1 ruby2.1 -e0 ruby2.1: warning: RUBY_FREE_MIN is obsolete. Use RUBY_GC_HEAP_FREE_SLOTS instead. ruby2.1: warning: RUBY_HEAP_MIN_SLOTS is obsolete. Use RUBY_GC_HEAP_INIT_SLOTS instead. ``` ``` $ ruby2.2 -e 'GC.stat(:malloc_limit)' -e:1: warning: GC.stat keys were changed from Ruby 2.1. In this case, you refer to obsolete `malloc_limit' (new key is `malloc_increase_bytes_limit'). Please check <https://bugs.ruby-lang.org/issues/9924> for more information. ``` -- https://bugs.ruby-lang.org/