[ruby-cvs:51031] ko1:r43887 (trunk): * string.c (rb_fstring): fstrings should be ELTS_SHARED.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Nov 28 09:22:46 JST 2013


ko1	2013-11-28 09:22:45 +0900 (Thu, 28 Nov 2013)

  New Revision: 43887

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

  Log:
    * string.c (rb_fstring): fstrings should be ELTS_SHARED.
      If we resurrect dying objects (non-marked, but not swept yet),
      pointing shared string can be collected.
      To avoid such issue, fstrings (recorded to fstring_table)
      should not be ELTS_SHARED (should not have a shared string).

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list