summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_gc_compact.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb
index c5a6c33c0a..8d27efcec0 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -103,6 +103,8 @@ class TestGCCompact < Test::Unit::TestCase
end
def test_many_collisions
+ skip if RubyVM::MJIT.enabled?
+
list_of_objects = big_list
ids = list_of_objects.map(&:object_id)
addresses = list_of_objects.map(&self.:memory_location)