diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-08 01:54:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-08 01:54:08 +0000 |
commit | f16b6fc5abbaca303e22b398acec751f0a6ea0ed (patch) | |
tree | 54f40aa6367598e39224f8875b9158a450e529d4 | |
parent | 67e5129a3a8ebb7f88f0d4af359051fdc1603461 (diff) | |
download | ruby-f16b6fc5abbaca303e22b398acec751f0a6ea0ed.tar.gz |
gc.c: disable gc_rest after finalization
* gc.c (rb_objspace_call_finalizer): disable provisionally gc_rest
as it breaks RVALUE consistency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2624,11 +2624,13 @@ rb_objspace_call_finalizer(rb_objspace_t *objspace) finalizer_table = 0; ATOMIC_SET(finalizing, 0); +#if 0 /* * finish any lazy sweeps that may have been started * when finalizing the objects in the heap */ gc_rest(objspace); +#endif } static inline int |