aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/bm_vm1_gc_wb_ary.rb
blob: e80538a2da109cb6e4c6fafbb2770681c155ab45 (plain)
1
2
3
4
5
6
7
8
short_lived_ary = []

i = 0
short_lived = ''
while i<30_000_000 # while loop 1
  short_lived_ary[0] = short_lived # write barrier
  i+=1
end