[ruby-core:60858] [Backport21 - Backport #9524] [Closed] Please backport r45021 for "RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR".

From: naruse@...
Date: 2014-02-19 06:01:08 UTC
List: ruby-core #60858
Issue #9524 has been updated by Yui NARUSE.

Status changed from Feedback to Closed
% Done changed from 0 to 100

Applied in changeset r45044.

----------
merge revision(s) 45021,45022,45028: [Backport #9524]

	* gc.c: introduce new environment variable
	  "RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR" to control major/minor GC
	  frequency.
	  Do full GC when the number of old objects is more than R * N
	  where R is this factor and

	* test/ruby/test_gc.rb: add a test.

	* gc.c (get_envparam_double): fix a warning message.

----------------------------------------
Backport #9524: Please backport r45021 for "RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR".
https://bugs.ruby-lang.org/issues/9524#change-45271

* Author: Koichi Sasada
* Status: Closed
* Priority: Normal
* Assignee: 
----------------------------------------
Please backport r45021
to introduce new environment variable
"RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR".

This fix doesn't change a default behavior, but we can tune 
full GC frequency with this environment variable.




-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next