summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-03-26 11:37:21 -0400
committerPeter Zhu <[email protected]>2024-03-27 09:39:23 -0400
commitf14e52c8c45f1288537ff38c153096d095b5ad20 ()
treec953d6b7c75899748d4872177cc49d8ddcafad56 /debug.c
parent1d99fe430aff34a90544d23edbd707f6f240dafe (diff)
Fix setting GC stress at boot when objspace not available
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
@@ -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);
return 1;
}
SET_WHEN("core", ruby_enable_coredump, 1);