Project

General

Profile

Actions

Backport #9490

closed

affect RUBY_GC_OLDMALLOC_LIMIT setting

Added by ko1 (Koichi Sasada) about 10 years ago. Updated about 10 years ago.

Status:
Closed
Assignee:
-
[ruby-dev:47961]

Description

Please backport r44853.
This change allow to affect RUBY_GC_OLDMALLOC_LIMIT setting.

Updated by naruse (Yui NARUSE) about 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r44856.


merge revision(s) 44853: [Backport #9490]

* gc.c (ruby_gc_set_params): if RUBY_GC_OLDMALLOC_LIMIT is provided,
  then set objspace->rgengc.oldmalloc_increase_limit.
  Without this fix, the env variable RUBY_GC_OLDMALLOC_LIMIT
  does not work.

* gc.c (get_envparam_int): accept a value equals to lowerbounds.

* gc.c (get_envparam_double): ditto.
Actions

Also available in: Atom PDF

Like0
Like0