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

Also available in: Atom PDF

Like0
Like0