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@46788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 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 |
---|---|---|
|
@@ -57,12 +57,12 @@ Thu Jul 10 01:09:57 2014 Koichi Sasada <[email protected]> | |
fstrings referred by static symbols and pinned dynamic symbols | ||
are registered by rb_gc_register_mark_object(). | ||
|
||
fstring referred by dynamic symbols (not pinned symbols) | ||
fstrings referred by dynamic symbols (not pinned symbols) | ||
are referred from global_symbols.dsymbol_fstr_hash (Hash object). | ||
|
||
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. | ||
fstrings to remove from symbol tables. | ||
This is why we can not mark fstrings from dynamic symbols. | ||
|
||
This technique reduces root objects for GC marking. | ||
|