Project

General

Profile

Backport #9490

affect RUBY_GC_OLDMALLOC_LIMIT setting

Added by Koichi Sasada over 2 years ago. Updated over 2 years ago.

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

Description

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

Associated revisions

Revision 44856
Added by Yui NARUSE over 2 years ago

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.

Revision 44903
Added by Yui NARUSE over 2 years ago

merge revision(s) 44572,44578,44591,44592: [Backport #9490]

ext: use rb_sprintf() and rb_vsprintf() with PRIsVALUE

History

#1 [ruby-dev:47962] Updated by Yui NARUSE over 2 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.

Also available in: Atom PDF