summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 546ffc440f..4717a0bc9c 100644
--- a/debug.c
+++ b/debug.c
@@ -226,7 +226,7 @@ ruby_env_debug_option(const char *str, int len, void *arg)
}
if (NAME_MATCH("gc_stress")) {
- rb_gc_stress_set(Qtrue);
+ rb_gc_initial_stress_set(Qtrue);
return 1;
}
SET_WHEN("core", ruby_enable_coredump, 1);