aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-15 00:42:51 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-15 00:42:51 +0000
commitb3bce5f1fc11bb4e5a6ca2550de4fc5c084e8e4e (patch)
tree4084607e191450a46ad144e674e81d3eb00bfd23 /version.h
parent7bb9a40ca50482eae14588b496b7fb3196312e1c (diff)
downloadruby-b3bce5f1fc11bb4e5a6ca2550de4fc5c084e8e4e.tar.gz
marshal.c: use hidden objects to allow recycling
Hidden objects (klass == 0) are not visible to Ruby code invoked from other threads or signal handlers, so they can never be accessed from other contexts. This makes it safe to call rb_gc_force_recycle on the object slot after releasing malloc memory. * marshal.c (rb_marshal_dump_limited): hide dump_arg and recycle when done (rb_marshal_load_with_proc): hide load_arg and recycle when done [ruby-core:79518] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions