diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-28 00:22:45 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-28 00:22:45 +0000 |
commit | d7df3e28306267d9e66d8493aa61642c32a145a3 (patch) | |
tree | 90520173aa305a44214e7fa20ea4e109a584569b /ChangeLog | |
parent | 8c91dfb91b49254ed7c0c5409775af9478c4f9ad (diff) | |
download | ruby-d7df3e28306267d9e66d8493aa61642c32a145a3.tar.gz |
* 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).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Thu Nov 28 09:18:39 2013 Koichi Sasada <ko1@atdot.net> + + * 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). + Thu Nov 28 01:35:08 2013 Masaki Matsushita <glass.saga@gmail.com> * st.c (st_keys): fix to use st_index_t for size of hash. |