diff options
author | Peter Zhu <[email protected]> | 2024-03-26 11:37:21 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-03-27 09:39:23 -0400 |
commit | f14e52c8c45f1288537ff38c153096d095b5ad20 (patch) | |
tree | c953d6b7c75899748d4872177cc49d8ddcafad56 /debug.c | |
parent | 1d99fe430aff34a90544d23edbd707f6f240dafe (diff) |
Fix setting GC stress at boot when objspace not available
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 2 |
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); + rb_gc_initial_stress_set(Qtrue); return 1; } SET_WHEN("core", ruby_enable_coredump, 1); |