Project

General

Profile

Actions

Feature #18290

closed

Deprecate rb_gc_force_recycle

Added by peterzhu2118 (Peter Zhu) about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:105945]

Description

GitHub PR: https://github.com/ruby/ruby/pull/4363

I'm proposing to deprecate rb_gc_force_recycle and make it a no-op function because it is a burden to maintain and makes changes to the GC difficult. It is also easy to incorrectly use this function and cause memory leaks such as #18065.

Actions #1

Updated by peterzhu2118 (Peter Zhu) about 1 year ago

  • Status changed from Open to Closed

Applied in changeset git|aeae6e2842e1702dfb89b8ae69b48c4f5f64c662.


[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.

Actions

Also available in: Atom PDF

Like0
Like0