[ruby-cvs:55970] normal:r48820 (trunk): gc.c (define_final0): avoid duplicate blocks

normal at ruby-lang.org normal at ruby-lang.org
Sat Dec 13 10:28:19 JST 2014


normal	2014-12-13 10:28:18 +0900 (Sat, 13 Dec 2014)

  New Revision: 48820

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

  Log:
    gc.c (define_final0): avoid duplicate blocks
    
    This prevents excessive memory growth when a WeakRef
    is repeatedly created
    
    * gc.c (define_final0): avoid duplicate blocks
      [Bug #10537]
    * test/test_weakref.rb (test_repeated_object_leak): new test

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/test/test_weakref.rb


More information about the ruby-cvs mailing list