summaryrefslogtreecommitdiff
path: root/benchmark/vm_gc_old_lazy.rb
blob: b74d44baf12e16b1384b5928d4cb99d498a665bc (plain)
1
2
3
4
old_object = Array.new(1_000_000){''}
30_000.times do
  GC.start(full_mark: false, immediate_sweep: false)
end