[ruby-cvs:53482] ko1:r46336 (trunk): * gc.c: change the counting method for young objects.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Jun 3 18:00:54 JST 2014


ko1	2014-06-03 18:00:53 +0900 (Tue, 03 Jun 2014)

  New Revision: 46336

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

  Log:
    * gc.c: change the counting method for young objects.
      clear counter at the beggining of every GC and
      count promoted (infant->young) objects.
      Some promotions (infant->young) are transition of promoting to old
      objects. We should not count such promotions.
      With this technique, we don't need to check young objects
      at obj_free().

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list