[ruby-cvs:50214] ko1:r43072 (trunk): * gc.c: add two GC tuning environment variables.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Sep 27 18:36:49 JST 2013


ko1	2013-09-27 18:36:48 +0900 (Fri, 27 Sep 2013)

  New Revision: 43072

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43072

  Log:
    * gc.c: add two GC tuning environment variables.
      RUBY_GC_MALLOC_LIMIT_MAX and RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR.
      See r43067 for details.
    * gc.c (rb_gc_set_params): refactoring. And change verbose notation.
      Mostly duplicated functions get_envparam_int/double is not cool.
      Please rewrite it.
    * test/ruby/test_gc.rb: fix a test for this change.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/test/ruby/test_gc.rb


More information about the ruby-cvs mailing list