[ruby-cvs:53071] ko1:r45925 (trunk): * gc.c: count young object correctly and show it in GC.stat

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon May 12 19:57:12 JST 2014


ko1	2014-05-12 19:57:11 +0900 (Mon, 12 May 2014)

  New Revision: 45925

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

  Log:
    * gc.c: count young object correctly and show it in GC.stat
      on RGENGC_AGE2_PROMOTION.
    * gc.c (RVALUE_PROMOTE_YOUNG): decrement young object count on
      YOUNG->OLD.
    * gc.c (obj_free): decrement young object count when young object
      freed.
    * gc.c (gc_marks): should not clear young object count.
    * gc.c (gc_stat_internal): GC.stat :young_object information.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list