Project

General

Profile

Actions

Bug #17402

closed

Remove deprecated GC-related features

Added by nobu (Nobuyoshi Nakada) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-dev:50977]

Description

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://github.com/ruby/ruby/pull/3921

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 3 years ago

  • Description updated (diff)
Actions #2

Updated by nobu (Nobuyoshi Nakada) over 3 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0