[ruby-cvs:51254] tmm1:r44109 (trunk): gc.c: build complete object graph for RGENGC_CHECK_MODE

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Tue Dec 10 14:46:49 JST 2013


tmm1	2013-12-10 14:46:48 +0900 (Tue, 10 Dec 2013)

  New Revision: 44109

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

  Log:
    gc.c: build complete object graph for RGENGC_CHECK_MODE
    
    * gc.c (reflist_add): return 0 if reference already exists
    * gc.c (allrefs_add): return 1 on newly added references
    * gc.c (allrefs_i): follow references to construct complete object
      graph. before this patch, RGENGC_CHECK could fail to verify some WB
      miss issues. [Bug #9226] [ruby-core:58959]

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list