diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-02-22 14:34:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 14:34:19 -0800 |
commit | bccf4b30fa251dd4394d4ad477bad53c624d2aba (patch) | |
tree | 92f5e9f31a2165a3b617c7ed047405acc52ffaa3 /tool/lib | |
parent | 2b0bc447e5b4057253f7cb8480fc6338f6528858 (diff) |
Skip under_gc_compact_stress on s390x (#10073)
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) |