[ruby-cvs:61644] ko1:r54482 (trunk): * gc.c: change deafult value of

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Apr 4 17:49:17 JST 2016


ko1	2016-04-04 17:49:17 +0900 (Mon, 04 Apr 2016)

  New Revision: 54482

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54482

  Log:
    * gc.c: change deafult value of
      RUBY_GC_HEAP_FREE_SLOTS_MIN_RATIO 0.3 -> 0.2
      RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO 0.8 -> 0.65
    
      These values are same as Ruby 2.0.0.
    
      This change cause GC counts.
      However, generational GC reduced each (minor) GC time and
      increase memory locality. So that not so big impact on my
      benchmarking results.
      (surprizingly, this fix speed up programs on some cases)
    
      You can change these values by environment variables
      if you feel wrong.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list