@@ -324,7 +324,7 @@ def test_moving_arrays_up_heaps
324324 }.resume
325325
326326 stats = GC.verify_compaction_references(expand_heap: true, toward: :empty)
327- assert_operator(stats.dig(:moved_up, :T_ARRAY) || 0, :>=, ARY_COUNT - 10 )
327+ assert_operator(stats.dig(:moved_up, :T_ARRAY) || 0, :>=, ARY_COUNT - 15 )
328328 refute_empty($arys.keep_if { |o| ObjectSpace.dump(o).include?('"embedded":true') })
329329 end;
330330 end
@@ -356,7 +356,7 @@ def add_ivars
356356
357357 stats = GC.verify_compaction_references(expand_heap: true, toward: :empty)
358358
359- assert_operator(stats.dig(:moved_up, :T_OBJECT) || 0, :>=, OBJ_COUNT - 10 )
359+ assert_operator(stats.dig(:moved_up, :T_OBJECT) || 0, :>=, OBJ_COUNT - 15 )
360360 refute_empty($ary.keep_if { |o| ObjectSpace.dump(o).include?('"embedded":true') })
361361 end;
362362 end
@@ -377,7 +377,7 @@ def test_moving_strings_up_heaps
377377
378378 stats = GC.verify_compaction_references(expand_heap: true, toward: :empty)
379379
380- assert_operator(stats[:moved_up][:T_STRING], :>=, STR_COUNT - 10 )
380+ assert_operator(stats[:moved_up][:T_STRING], :>=, STR_COUNT - 15 )
381381 refute_empty($ary.keep_if { |o| ObjectSpace.dump(o).include?('"embedded":true') })
382382 end;
383383 end
0 commit comments