[ruby-cvs:53473] ko1:r46327 (trunk): * gc.c: count old/young objects more correctly.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Jun 3 12:55:06 JST 2014


ko1	2014-06-03 12:55:04 +0900 (Tue, 03 Jun 2014)

  New Revision: 46327

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

  Log:
    * gc.c: count old/young objects more correctly.
    * gc.c (RVALUE_DEMOTE_FROM_OLD): decrement old object count.
    * gc.c (RVALUE_DEMOTE_FROM_YOUNG): decrement young object count.
    * gc.c (rb_gc_resurrect): increment old object count.
    * gc.c (gc_marks_body): should not add old object count.
      This code is completely my misunderstanding.
    * gc.c (rb_gc_force_recycle): decrement young or old object count
      correctly.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list