diff options
Diffstat (limited to 'tool/lib')
-rw-r--r-- | tool/lib/envutil.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/envutil.rb b/tool/lib/envutil.rb index b5dcfb9d04..a2ddf74052 100644 --- a/tool/lib/envutil.rb +++ b/tool/lib/envutil.rb @@ -251,6 +251,7 @@ module EnvUtil module_function :under_gc_stress def under_gc_compact_stress(val = :empty, &block) + raise "compaction doesn't work well on s390x. Omit the test in the caller." if RUBY_PLATFORM =~ /s390x/ # https://github.com/ruby/ruby/pull/5077 auto_compact = GC.auto_compact GC.auto_compact = val under_gc_stress(&block) |