summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2021-11-05 09:51:53 -0400
committerPeter Zhu <peter@peterzhu.ca>2021-11-08 14:05:54 -0500
commitaeae6e2842e1702dfb89b8ae69b48c4f5f64c662 (patch)
tree33a7c7e23bf109123a77c7eb644e66e9bd44d75d /template
parentaa5bccfc65cf47a10d72cefa4bc2ee097f135b4c (diff)
[Feature #18290] Remove all usages of rb_gc_force_recycle
This commit removes usages of rb_gc_force_recycle since it is a burden to maintain and makes changes to the GC difficult.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4363
Diffstat (limited to 'template')
-rw-r--r--template/prelude.c.tmpl3
1 files changed, 0 insertions, 3 deletions
diff --git a/template/prelude.c.tmpl b/template/prelude.c.tmpl
index a36e572a41..8743d63de7 100644
--- a/template/prelude.c.tmpl
+++ b/template/prelude.c.tmpl
@@ -270,9 +270,6 @@ Init_<%=init_name%><%=%>(void)
% next if sub
prelude_eval(PRELUDE_CODE(<%=i%><%=%>), PRELUDE_NAME(<%=i%><%=%>), <%=start_line%>);
% end
-% if @have_sublib
- rb_gc_force_recycle(prelude);
-% end
#if 0
% preludes.length.times {|i|