[ruby-cvs:62242] nobu:r55079 (trunk): exclude non-VALUE in memo from GC

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 20 19:48:51 JST 2016


nobu	2016-05-20 19:48:51 +0900 (Fri, 20 May 2016)

  New Revision: 55079

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

  Log:
    exclude non-VALUE in memo from GC
    
    * internal.h (NEW_PARTIAL_MEMO_FOR): shrink buffer array not to
      mark non-VALUE fields.  fix check_rvalue_consistency abort with
      RGENGC_CHECK_MODE=2.
    * internal.h (NEW_CMP_OPT_MEMO): exclude struct cmp_opt_data from
      the valid array range.
    * enum.c (slicewhen_i): exclude inverted too.

  Modified files:
    trunk/ChangeLog
    trunk/enum.c
    trunk/internal.h


More information about the ruby-cvs mailing list