Remove never used method

This commit is contained in:
Nobuyoshi Nakada 2024-02-20 20:08:52 +09:00
parent e3917fc7da
commit 386b956ad8
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -1,6 +1,5 @@
# frozen_string_literal: true
require 'test/unit'
require 'etc'
if RUBY_PLATFORM =~ /s390x/
warn "Currently, it is known that the compaction does not work well on s390x; contribution is welcome https://github.com/ruby/ruby/pull/5077"
@ -111,10 +110,6 @@ class TestGCCompact < Test::Unit::TestCase
end
end
def os_page_size
return true unless defined?(Etc::SC_PAGE_SIZE)
end
def test_gc_compact_stats
list = []