aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/bm_vm1_gc_wb_obj_promoted.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm1_gc_wb_obj_promoted.rb')
-rw-r--r--benchmark/bm_vm1_gc_wb_obj_promoted.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/bm_vm1_gc_wb_obj_promoted.rb b/benchmark/bm_vm1_gc_wb_obj_promoted.rb
index 7967e83726..eee07a0248 100644
--- a/benchmark/bm_vm1_gc_wb_obj_promoted.rb
+++ b/benchmark/bm_vm1_gc_wb_obj_promoted.rb
@@ -3,8 +3,8 @@ class C
end
long_lived = C.new
-if RUBY_VERSION > "2.2.0"
- 3.times{ GC.start(immediate_mark: false, lazy_sweep: false) }
+if RUBY_VERSION >= "2.2.0"
+ 3.times{ GC.start(full_mark: false, immediate_mark: true, lazy_sweep: false) }
elsif
GC.start
end