Project

General

Profile

« Previous | Next » 

Revision 50214475

Added by ko1 (Koichi Sasada) about 12 years ago

  • gc.c (garbage_collect_test): rewrite checking code.
    When RGENGC_CHECK_MODE >= 2, all minor marking, run normal minor
    marking and major/full marking. After that, compare the results
    and shows BUG if a object living with major/full marking but dead
    with minor marking.
    After detecting bugs, print references information.
    (RGENGC_CHECK_MODE == 2, show references to dead object)
    (RGENGC_CHECK_MODE == 3, show all references)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e