[ruby-cvs:52189] naruse:r45044 (ruby_2_1): merge revision(s) 45021, 45022, 45028: [Backport #9524]

naruse at ruby-lang.org naruse at ruby-lang.org
Wed Feb 19 15:00:47 JST 2014


naruse	2014-02-19 15:00:46 +0900 (Wed, 19 Feb 2014)

  New Revision: 45044

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

  Log:
    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.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/gc.c
    branches/ruby_2_1/test/ruby/test_gc.rb
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list