[ruby-cvs:61612] ko1:r54450 (trunk): * gc.c: add GC parameters to configure the following values:

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Mar 31 16:45:13 JST 2016


ko1	2016-03-31 16:45:13 +0900 (Thu, 31 Mar 2016)

  New Revision: 54450

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

  Log:
    * gc.c: add GC parameters to configure the following values:
      * RUBY_GC_HEAP_FREE_SLOTS_MIN_RATIO:
        allocate additional pages when free slots is lower than
        the value (total_slots * (this ratio)).
      * RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO:
        allow to free pages when free slots is greater thatn
        the value (total_slots * (this ratio)).
    
      Before this change, these values are hard coded.
    
    * gc.c (ruby_gc_params_t): ditto.
    
    * gc.c (ruby_gc_set_params): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list