diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-16 03:45:15 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-16 03:45:15 +0000 |
commit | f97051512aad857eed0b3ed8676c4c123f6a01c4 (patch) | |
tree | 3aac5f209f9855b2f386dcc913cbe261512addb4 /Makefile.in | |
parent | 401cf928c104bcba494b2c30daf3a6c48c744c12 (diff) | |
download | ruby-f97051512aad857eed0b3ed8676c4c123f6a01c4.tar.gz |
marshal.c: use rb_gc_force_recycle for GC-safety
Putting rb_gc_force_recycle at the end of the function has a nice
side-effect of keeping wrapper visible to GC until the moment of
recycle, preventing GC from prematurely killing live objects.
volatile is a common source of compiler bugs/differences, avoid it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions