aboutsummaryrefslogtreecommitdiffstats
path: root/defs
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-13 02:04:26 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-13 02:04:26 +0000
commit42650a6e830087f69cc8dad424b86a9cedaa0b97 (patch)
tree01088ddf867fe53a885166115a471ab4887ab043 /defs
parent80d6d5d3568b9f393b3bb956dfc2bb0cc443310b (diff)
downloadruby-42650a6e830087f69cc8dad424b86a9cedaa0b97.tar.gz
array.c (ary_recycle_hash): use rb_gc_force_recycle
Hidden objects (RBASIC_CLASS(hash) == 0) can never become visible to other threads or signal handlers via ObjectSpace.each_object or similar means. Thus it is safe to forcibly recycle the object slot for future use, here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs')
0 files changed, 0 insertions, 0 deletions