forked from ruby/ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ Thu Jul 10 01:09:57 2014 Koichi Sasada <[email protected]> | |
|
||
* symbol.c: remove rb_gc_mark_symbols(). | ||
|
||
fstrings refered by static symbols and pinned dynamic symbols | ||
are registerd by rb_gc_register_mark_object(). | ||
fstrings referred by static symbols and pinned dynamic symbols | ||
are registered by rb_gc_register_mark_object(). | ||
|
||
frstring refered by dynamic symbols (not pinned symbols) | ||
are refered from global_symbols.dsymbol_fstr_hash (Hash object). | ||
fstring referred by dynamic symbols (not pinned symbols) | ||
are referred from global_symbols.dsymbol_fstr_hash (Hash object). | ||
|
||
Note that fstrings refered from dynamic symbols must live loger | ||
Note that fstrings referred from dynamic symbols must live logger | ||
than symbol objects themselves because rb_gc_free_dsymbol() uses | ||
fstring to remove from symbol tables. | ||
This is why we can not mark fstrings from dynamic symbols. | ||
|