Skip to content

Commit

Permalink
fix typos [ci skip]
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
znz committed Jul 10, 2014
1 parent ef3ff64 commit 01bced9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 01bced9

Please sign in to comment.