summaryrefslogtreecommitdiff
path: root/test/ruby/test_gc.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-17 13:49:10 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-18 16:27:43 +0900
commit763d5f9c6baf57108396ee5452fa73c834fe9ce0 (patch)
treeff728d46dc69f6fb6baba473d6af8570d326e2f2 /test/ruby/test_gc.rb
parent982443e6e373f5a3ac22ee495909cb9adffcd08d (diff)
Removed old GC tuning environment variables deprecated since 2.1
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3921
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r--test/ruby/test_gc.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index c2e075ab8d..1823538f73 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -233,12 +233,6 @@ class TestGc < Test::Unit::TestCase
# always full GC when RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR < 1.0
assert_in_out_err([env, "-e", "1000_000.times{Object.new}; p(GC.stat[:minor_gc_count] < GC.stat[:major_gc_count])"], "", ['true'], //, "") if use_rgengc?
- # check obsolete
- assert_in_out_err([{'RUBY_FREE_MIN' => '100'}, '-w', '-eexit'], '', [],
- /RUBY_FREE_MIN is obsolete. Use RUBY_GC_HEAP_FREE_SLOTS instead/)
- assert_in_out_err([{'RUBY_HEAP_MIN_SLOTS' => '100'}, '-w', '-eexit'], '', [],
- /RUBY_HEAP_MIN_SLOTS is obsolete. Use RUBY_GC_HEAP_INIT_SLOTS instead/)
-
env = {
"RUBY_GC_MALLOC_LIMIT" => "60000000",
"RUBY_GC_MALLOC_LIMIT_MAX" => "160000000",