[ruby-cvs:53481] ko1:r46335 (trunk): * gc.c: add verifying counters code in gc_verify_internal_consistency().

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Jun 3 16:50:24 JST 2014


ko1	2014-06-03 16:50:23 +0900 (Tue, 03 Jun 2014)

  New Revision: 46335

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

  Log:
    * gc.c: add verifying counters code in gc_verify_internal_consistency().
      gc_verify_internal_consistency() counts all
      - live objects
      - young objects (if age2 promotion)
      - old objects
      in all pages and compares with objspace managing counters.
    * gc.c (gc_after_sweep): do gc_verify_internal_consistency()
      when RGENGC_CHECK_MODE >= 2.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list