[ruby-cvs:52963] nagachika:r45817 (ruby_2_1): merge revision(s) r45468: [Backport #9687]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Mon May 5 01:17:09 JST 2014


nagachika	2014-05-05 01:17:08 +0900 (Mon, 05 May 2014)

  New Revision: 45817

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

  Log:
    merge revision(s) r45468: [Backport #9687]
    
    * gc.c (gc_before_sweep): cap `malloc_limit' to
      gc_params.malloc_limit_max.  It can grow and grow with such case:
        `loop{"a" * (1024 ** 2)}'
      [Bug #9687]
      This issue is pointed by Tim Robertson.
      http://www.omniref.com/blog/blog/2014/03/27/ruby-garbage-collection-still-not-ready-for-production/

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/gc.c
    branches/ruby_2_1/version.h


More information about the ruby-cvs mailing list