diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-17 13:49:10 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-18 16:27:43 +0900 |
commit | 763d5f9c6baf57108396ee5452fa73c834fe9ce0 (patch) | |
tree | ff728d46dc69f6fb6baba473d6af8570d326e2f2 /gc.c | |
parent | 982443e6e373f5a3ac22ee495909cb9adffcd08d (diff) |
Removed old GC tuning environment variables deprecated since 2.1
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3921
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -10245,18 +10245,11 @@ ruby_gc_set_params(void) if (get_envparam_size("RUBY_GC_HEAP_FREE_SLOTS", &gc_params.heap_free_slots, 0)) { /* ok */ } - else if (get_envparam_size("RUBY_FREE_MIN", &gc_params.heap_free_slots, 0)) { - rb_warn("RUBY_FREE_MIN is obsolete. Use RUBY_GC_HEAP_FREE_SLOTS instead."); - } /* RUBY_GC_HEAP_INIT_SLOTS */ if (get_envparam_size("RUBY_GC_HEAP_INIT_SLOTS", &gc_params.heap_init_slots, 0)) { gc_set_initial_pages(); } - else if (get_envparam_size("RUBY_HEAP_MIN_SLOTS", &gc_params.heap_init_slots, 0)) { - rb_warn("RUBY_HEAP_MIN_SLOTS is obsolete. Use RUBY_GC_HEAP_INIT_SLOTS instead."); - gc_set_initial_pages(); - } get_envparam_double("RUBY_GC_HEAP_GROWTH_FACTOR", &gc_params.growth_factor, 1.0, 0.0, FALSE); get_envparam_size ("RUBY_GC_HEAP_GROWTH_MAX_SLOTS", &gc_params.growth_max_slots, 0); |