summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-12-15 12:00:30 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-12-15 12:00:30 -0500
commitf50aa19da63067c4b0de5964b6632df20202e71c (patch)
tree0c8167251eeffb1a6bf32f78a97acb06068bfb03 /test/ruby
parent9c54466e299aa91af225bc2d92a3d7755730948f (diff)
Revert "Fix Object Movement allocation in GC"
This reverts commit 9c54466e299aa91af225bc2d92a3d7755730948f. We're seeing crashes in Shopify CI after this commit.
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_gc_compact.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb
index c5fac64ca4..bae29a3162 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -270,9 +270,6 @@ class TestGCCompact < Test::Unit::TestCase
ary = OBJ_COUNT.times.map { Foo.new }
ary.each(&:add_ivars)
- GC.start
- Foo.new.add_ivars
-
stats = GC.verify_compaction_references(expand_heap: true, toward: :empty)
assert_operator(stats[:moved_up][:T_OBJECT], :>=, OBJ_COUNT)